Class DefaultAuthService
java.lang.Object
tech.riemann.etp.auth.service.HttpServletAuthService
tech.riemann.etp.auth.service.impl.DefaultAuthService
- All Implemented Interfaces:
AuthService
默认的实现
-
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.HttpServletResponseMethods inherited from class tech.riemann.etp.auth.service.HttpServletAuthService
addCookie, authentication, authorizationHeaderKey, cookieSettings, login, logout, optionalUser, pass, refreshToken, refreshToken, refreshTokenKey, skip, subject, token, token, tokenKey, tryRefreshToken, user, 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
-
DefaultAuthService
public DefaultAuthService()
-
-
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
-
jwtEncoder
- Specified by:
jwtEncoderin classHttpServletAuthService- Returns:
- See Also:
-
jwtDecoder
- Specified by:
jwtDecoderin classHttpServletAuthService- Returns:
- See Also:
-