Package io.datarouter.auth.session
Class CurrentSessionInfo.NoOpCurrentSessionInfo
java.lang.Object
io.datarouter.auth.session.CurrentSessionInfo.NoOpCurrentSessionInfo
- All Implemented Interfaces:
CurrentSessionInfo
- Enclosing interface:
CurrentSessionInfo
public static class CurrentSessionInfo.NoOpCurrentSessionInfo
extends Object
implements CurrentSessionInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.auth.session.CurrentSessionInfo
CurrentSessionInfo.NoOpCurrentSessionInfo -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.auth.session.CurrentSessionInfo
findNonEmptyUsername, getNonEmptyUsernameOrElse, getRequiredSession, hasAnyRole, hasAnyRoleEnum, hasRole, hasRole
-
Constructor Details
-
NoOpCurrentSessionInfo
public NoOpCurrentSessionInfo()
-
-
Method Details
-
getSession
- Specified by:
getSessionin interfaceCurrentSessionInfo
-
getRoles
Description copied from interface:CurrentSessionInforeturns the Roles associated with the current user/session, an empty set if there is no current session- Specified by:
getRolesin interfaceCurrentSessionInfo
-