Package io.datarouter.auth.session
Class DatarouterUserSessionService
java.lang.Object
io.datarouter.auth.session.DatarouterUserSessionService
- All Implemented Interfaces:
UserSessionService
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.datarouter.auth.session.UserSessionService
UserSessionService.NoOpUserSessionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearSessionCookies(javax.servlet.http.HttpServletResponse response) createAuthorizedUser(String username, String description) voiddeleteSession(javax.servlet.http.HttpServletRequest request) voiddeleteUserSessions(List<String> usernames) getSamlSignOnChanges(DatarouterUser user, InterpretedSamlAssertion interpretedSamlAssertion) voidsetSessionCookies(javax.servlet.http.HttpServletResponse response, Session session) signInUserFromSamlResponse(javax.servlet.http.HttpServletRequest request, InterpretedSamlAssertion interpretedSamlAssertion)
-
Constructor Details
-
DatarouterUserSessionService
public DatarouterUserSessionService()
-
-
Method Details
-
setSessionCookies
- Specified by:
setSessionCookiesin interfaceUserSessionService
-
clearSessionCookies
public void clearSessionCookies(javax.servlet.http.HttpServletResponse response) - Specified by:
clearSessionCookiesin interfaceUserSessionService
-
signInUserFromSamlResponse
public Session signInUserFromSamlResponse(javax.servlet.http.HttpServletRequest request, InterpretedSamlAssertion interpretedSamlAssertion) - Specified by:
signInUserFromSamlResponsein interfaceUserSessionService
-
createAuthorizedUser
- Specified by:
createAuthorizedUserin interfaceUserSessionService
-
deleteSession
public void deleteSession(javax.servlet.http.HttpServletRequest request) - Specified by:
deleteSessionin interfaceUserSessionService
-
deleteUserSessions
- Specified by:
deleteUserSessionsin interfaceUserSessionService
-
getZoneId
- Specified by:
getZoneIdin interfaceUserSessionService
-
getSamlSignOnChanges
public Optional<DatarouterUserSessionService.SamlChanges> getSamlSignOnChanges(DatarouterUser user, InterpretedSamlAssertion interpretedSamlAssertion)
-