Package tech.riemann.etp.odic.service
Class CacheableOpenIDConnectionAuthService
java.lang.Object
tech.riemann.etp.auth.service.HttpServletAuthService
tech.riemann.etp.odic.service.CacheableOpenIDConnectionAuthService
- All Implemented Interfaces:
AuthService
基于open id connect 实现的token验证可缓存的实现
-
Field Summary
Fields inherited from class tech.riemann.etp.auth.service.HttpServletAuthService
TOKEN_EXPIRED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponsetryRefreshToken(String refreshToken) user()Methods inherited from class tech.riemann.etp.auth.service.HttpServletAuthService
addCookie, authentication, authorizationHeaderKey, login, logout, optionalUser, pass, refreshToken, refreshToken, refreshTokenKey, skip, subject, token, token, tokenKey, userNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.riemann.etp.auth.service.AuthService
permissions, roles
-
Constructor Details
-
CacheableOpenIDConnectionAuthService
public CacheableOpenIDConnectionAuthService()
-
-
Method Details
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()- Specified by:
getRequestin classHttpServletAuthService
-
getResponse
public jakarta.servlet.http.HttpServletResponse getResponse()- Specified by:
getResponsein classHttpServletAuthService
-
userDetailService
- Specified by:
userDetailServicein classHttpServletAuthService
-
cookieSettings
- Overrides:
cookieSettingsin classHttpServletAuthService
-
jwtEncoder
- Specified by:
jwtEncoderin classHttpServletAuthService
-
user
- Specified by:
userin interfaceAuthService- Overrides:
userin classHttpServletAuthService
-
tryRefreshToken
- Overrides:
tryRefreshTokenin classHttpServletAuthService- Parameters:
refreshToken-- Returns:
-
jwtDecoder
- Specified by:
jwtDecoderin classHttpServletAuthService- Returns:
- See Also:
-