Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addCookie(String, String, int) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
-
添加cookie
- addExt(String, Object) - Method in class club.zhcs.lina.auth.service.AuthUser
-
添加扩展信息
- AND - Enum constant in enum class club.zhcs.lina.auth.aop.Auth.Logical
-
且
- anonymous() - Static method in class club.zhcs.lina.auth.service.AuthUser
- Auth - Annotation Interface in club.zhcs.lina.auth.aop
- Auth.AuthType - Enum Class in club.zhcs.lina.auth.aop
- Auth.Logical - Enum Class in club.zhcs.lina.auth.aop
- authentication(List<String>) - Method in interface club.zhcs.lina.auth.service.AuthService
-
鉴权
- authentication(List<String>) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- AuthenticationException - Exception Class in club.zhcs.lina.auth
-
身份验证异常
- AuthenticationException() - Constructor for exception class club.zhcs.lina.auth.AuthenticationException
- AuthenticationException(String) - Constructor for exception class club.zhcs.lina.auth.AuthenticationException
- AuthenticationException(String, String) - Constructor for exception class club.zhcs.lina.auth.AuthenticationException
- AuthorizationException - Exception Class in club.zhcs.lina.auth
-
鉴权异常
- AuthorizationException() - Constructor for exception class club.zhcs.lina.auth.AuthorizationException
- AuthorizationException(String) - Constructor for exception class club.zhcs.lina.auth.AuthorizationException
- AuthorizationException(String, String) - Constructor for exception class club.zhcs.lina.auth.AuthorizationException
- authorizationHeaderKey() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
-
认证头key
- AuthService - Interface in club.zhcs.lina.auth.service
- AuthUser - Class in club.zhcs.lina.auth.service
- AuthUser() - Constructor for class club.zhcs.lina.auth.service.AuthUser
- AuthUser.Sex - Enum Class in club.zhcs.lina.auth.service
C
- check(String, String, String) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
MD5固定盐密码匹配
- club.zhcs.lina.auth - package club.zhcs.lina.auth
- club.zhcs.lina.auth.aop - package club.zhcs.lina.auth.aop
- club.zhcs.lina.auth.encode - package club.zhcs.lina.auth.encode
- club.zhcs.lina.auth.jwt - package club.zhcs.lina.auth.jwt
- club.zhcs.lina.auth.service - package club.zhcs.lina.auth.service
- club.zhcs.lina.auth.service.impl - package club.zhcs.lina.auth.service.impl
- cookieSettings() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
-
cookie 设置
- cookieSettings() - Method in class club.zhcs.lina.auth.service.impl.DefaultAuthService
- CookieSettings - Class in club.zhcs.lina.auth.service
- CookieSettings() - Constructor for class club.zhcs.lina.auth.service.CookieSettings
D
- DefaultAuthService - Class in club.zhcs.lina.auth.service.impl
- DefaultAuthService() - Constructor for class club.zhcs.lina.auth.service.impl.DefaultAuthService
E
- ecGenerator(JWSAlgorithm, Curve, String) - Method in class club.zhcs.lina.auth.jwt.Jwks
- eddsaGenerator(JWSAlgorithm, Curve, String) - Method in class club.zhcs.lina.auth.jwt.Jwks
- encode(String) - Method in interface club.zhcs.lina.auth.encode.PasswordMatcher
-
加密
- encode(String) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
加密
- encode(String) - Method in class club.zhcs.lina.auth.encode.SM3PasswordMatcher
- encode(String, String) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
MD5固定盐多次摘要
- encode(String, String, String, int) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
加盐迭代多次摘要
F
- FEMALE - Enum constant in enum class club.zhcs.lina.auth.service.AuthUser.Sex
- filter(ProceedingJoinPoint) - Method in class club.zhcs.lina.auth.aop.TokenAuthInterceptor
G
- gen(String, JWSAlgorithm, int, Curve, String) - Method in class club.zhcs.lina.auth.jwt.Jwks
-
生成,秘钥信息将存储到keyStorePath
- getAuth(JoinPoint) - Method in class club.zhcs.lina.auth.aop.TokenAuthInterceptor
- getRequest() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- getRequest() - Method in class club.zhcs.lina.auth.service.impl.DefaultAuthService
- getResponse() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- getResponse() - Method in class club.zhcs.lina.auth.service.impl.DefaultAuthService
- getSexInfo() - Method in class club.zhcs.lina.auth.service.AuthUser
- getStatus() - Method in exception class club.zhcs.lina.auth.AuthenticationException
- getStatus() - Method in exception class club.zhcs.lina.auth.AuthorizationException
H
- hmacGenerator(JWSAlgorithm, int, String) - Method in class club.zhcs.lina.auth.jwt.Jwks
- HttpServletAuthService - Class in club.zhcs.lina.auth.service
- HttpServletAuthService() - Constructor for class club.zhcs.lina.auth.service.HttpServletAuthService
I
- InMemoryUserDetailService - Class in club.zhcs.lina.auth.service.impl
-
基于内存存储的UserDetailService,请勿在生产环境使用,特别是多节点部署的时候
- InMemoryUserDetailService() - Constructor for class club.zhcs.lina.auth.service.impl.InMemoryUserDetailService
- isAnonymous() - Method in class club.zhcs.lina.auth.service.AuthUser
J
- Jwks - Class in club.zhcs.lina.auth.jwt
- Jwks() - Constructor for class club.zhcs.lina.auth.jwt.Jwks
- jwtDecoder() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- jwtDecoder() - Method in class club.zhcs.lina.auth.service.impl.DefaultAuthService
- JWTDecoder - Class in club.zhcs.lina.auth.jwt
- JWTDecoder() - Constructor for class club.zhcs.lina.auth.jwt.JWTDecoder
- jwtEncoder() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- jwtEncoder() - Method in class club.zhcs.lina.auth.service.impl.DefaultAuthService
- JWTEncoder - Class in club.zhcs.lina.auth.jwt
- JWTEncoder() - Constructor for class club.zhcs.lina.auth.jwt.JWTEncoder
K
- key(JWSAlgorithm) - Method in class club.zhcs.lina.auth.jwt.JWTDecoder
L
- load(String, String) - Method in class club.zhcs.lina.auth.jwt.Jwks
-
加载秘钥
- logical() - Element in annotation interface club.zhcs.lina.auth.aop.Auth
-
逻辑关系
- login(AuthUser) - Method in interface club.zhcs.lina.auth.service.AuthService
-
用户登录
- login(AuthUser) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- logout() - Method in interface club.zhcs.lina.auth.service.AuthService
-
登出
- logout() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
M
- MALE - Enum constant in enum class club.zhcs.lina.auth.service.AuthUser.Sex
- match(String, String) - Method in interface club.zhcs.lina.auth.encode.PasswordMatcher
-
比对
- match(String, String) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
验证密码是否匹配
- match(String, String) - Method in class club.zhcs.lina.auth.encode.SM3PasswordMatcher
O
- optionalUser() - Method in interface club.zhcs.lina.auth.service.AuthService
-
尝试获取当前用户
- optionalUser() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- OR - Enum constant in enum class club.zhcs.lina.auth.aop.Auth.Logical
-
或
P
- pass(String, List<String>) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- PasswordMatcher - Interface in club.zhcs.lina.auth.encode
- PasswordUtils - Class in club.zhcs.lina.auth.encode
- PasswordUtils() - Constructor for class club.zhcs.lina.auth.encode.PasswordUtils
- PERMISSION - Enum constant in enum class club.zhcs.lina.auth.aop.Auth.AuthType
-
权限
- permissions() - Method in interface club.zhcs.lina.auth.service.AuthService
-
获取当前登录用户的权限
R
- randomSaltEncode(String) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
MD5随机盐摘要
- randomSaltEncode(String, int) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
MD5随机盐摘要
- randomSaltVerify(String, String) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
MD5随机盐摘要验证
- randomSaltVerify(String, String, int) - Static method in class club.zhcs.lina.auth.encode.PasswordUtils
-
MD5随机盐摘要验证
- refreshToken() - Method in interface club.zhcs.lina.auth.service.AuthService
-
获取 refresh token
- refreshToken() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- refreshToken(String) - Method in class club.zhcs.lina.auth.jwt.JWTEncoder
-
生成刷新令牌
- refreshToken(String) - Method in interface club.zhcs.lina.auth.service.AuthService
-
生成refreshToken
- refreshToken(String) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- refreshTokenKey() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
-
refresh token key ,可以接受从header/cookie和请求参数传入
- ROLE - Enum constant in enum class club.zhcs.lina.auth.aop.Auth.AuthType
-
角色
- roles() - Method in interface club.zhcs.lina.auth.service.AuthService
-
获取当前登录用户的角色
- rsaGenerator(JWSAlgorithm, int, String) - Method in class club.zhcs.lina.auth.jwt.Jwks
S
- save(AuthUser) - Method in class club.zhcs.lina.auth.service.impl.InMemoryUserDetailService
- save(AuthUser) - Method in interface club.zhcs.lina.auth.service.UserDetailService
-
存入用户
- setSexInfo(Codebook) - Method in class club.zhcs.lina.auth.service.AuthUser
- signer() - Method in class club.zhcs.lina.auth.jwt.JWTEncoder
-
签名器
- skip() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- SM3PasswordMatcher - Class in club.zhcs.lina.auth.encode
- SM3PasswordMatcher() - Constructor for class club.zhcs.lina.auth.encode.SM3PasswordMatcher
- subject(String) - Method in class club.zhcs.lina.auth.jwt.JWTDecoder
-
获取主题
- subject(String) - Method in interface club.zhcs.lina.auth.service.AuthService
-
根据token获取subject信息
- subject(String) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
T
- token() - Method in interface club.zhcs.lina.auth.service.AuthService
-
获取token
- token() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- token(Payload) - Method in class club.zhcs.lina.auth.jwt.JWTEncoder
-
生成token
- token(String) - Method in class club.zhcs.lina.auth.jwt.JWTEncoder
-
生成token
- token(String) - Method in interface club.zhcs.lina.auth.service.AuthService
-
生成token
- token(String) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- token(String, Map<String, ?>) - Method in class club.zhcs.lina.auth.jwt.JWTEncoder
-
生成token
- token(String, Map<String, ?>, long, TimeUnit) - Method in class club.zhcs.lina.auth.jwt.JWTEncoder
-
生成token
- TOKEN_EXPIRED - Static variable in class club.zhcs.lina.auth.service.HttpServletAuthService
- TokenAuthInterceptor - Class in club.zhcs.lina.auth.aop
- TokenAuthInterceptor(AuthService, List<String>) - Constructor for class club.zhcs.lina.auth.aop.TokenAuthInterceptor
- tokenKey() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
-
token key ,可以接受从header/cookie和请求参数传入
- tryRefreshToken(String) - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- type() - Element in annotation interface club.zhcs.lina.auth.aop.Auth
-
类型
U
- user() - Method in interface club.zhcs.lina.auth.service.AuthService
-
获取当前登录用户
- user() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- userByName(String) - Method in class club.zhcs.lina.auth.service.impl.InMemoryUserDetailService
- userByName(String) - Method in interface club.zhcs.lina.auth.service.UserDetailService
-
用户信息
- userByToken(String) - Method in class club.zhcs.lina.auth.service.impl.InMemoryUserDetailService
- userByToken(String) - Method in interface club.zhcs.lina.auth.service.UserDetailService
-
用户信息
- userDetailService() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
- userDetailService() - Method in class club.zhcs.lina.auth.service.impl.DefaultAuthService
- UserDetailService - Interface in club.zhcs.lina.auth.service
- userName() - Method in interface club.zhcs.lina.auth.service.AuthService
-
获取用户名
- userName() - Method in class club.zhcs.lina.auth.service.HttpServletAuthService
V
- value() - Element in annotation interface club.zhcs.lina.auth.aop.Auth
- valueOf(String) - Static method in enum class club.zhcs.lina.auth.aop.Auth.AuthType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class club.zhcs.lina.auth.aop.Auth.Logical
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class club.zhcs.lina.auth.service.AuthUser.Sex
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class club.zhcs.lina.auth.aop.Auth.AuthType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class club.zhcs.lina.auth.aop.Auth.Logical
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class club.zhcs.lina.auth.service.AuthUser.Sex
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifiedPayload(String) - Method in class club.zhcs.lina.auth.jwt.JWTDecoder
-
获取验证过的荷载
- verifiedSubject(String) - Method in class club.zhcs.lina.auth.jwt.JWTDecoder
-
验证并获取主题
- verify(String) - Method in class club.zhcs.lina.auth.jwt.JWTDecoder
-
验证token
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form