public class SessionAuthService extends Object implements AuthService
| Modifier and Type | Field and Description |
|---|---|
static String |
USER |
AUTH_HEADER_NAME, VALIDITY_TIME_MS| Constructor and Description |
|---|
SessionAuthService() |
| 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTokenForUser, fromJSON, getTokenUser, parseUserFromToken, toJSONpublic static final String USER
public 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–2020 ODPi. All rights reserved.