public class TokenAuthService extends TokenSettings implements AuthService
tokenSecret, tokenTimeoutAUTH_HEADER_NAME| Constructor and Description |
|---|
TokenAuthService() |
| Modifier and Type | Method and Description |
|---|---|
User |
addAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
org.springframework.security.core.Authentication |
getAuthentication(javax.servlet.http.HttpServletRequest request) |
getTokenTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTokenForUser, fromJSON, getTokenTimeout, getTokenUser, parseUserFromToken, toJSONpublic User addAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
addAuthentication in interface AuthServicepublic org.springframework.security.core.Authentication getAuthentication(javax.servlet.http.HttpServletRequest request)
getAuthentication in interface AuthServiceCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.