Example usage for Java org.apache.shiro.subject SubjectContext fields, constructors, methods, implement or subclass
The text is from its open source code.
AuthenticationToken | getAuthenticationToken() |
Serializable | getSessionId() Returns the session id of the session that should be associated with the constructed Subject instance. |
boolean | isAuthenticated() Returns true if the constructed Subject should be considered authenticated, false otherwise. |
boolean | isSessionCreationEnabled() Returns true if the constructed Subject should be allowed to create a session, false otherwise. |
boolean | resolveAuthenticated() |
String | resolveHost() |
PrincipalCollection | resolvePrincipals() |
SecurityManager | resolveSecurityManager() Resolves the SecurityManager instance that should be used to back the constructed Subject instance (typically used to support org.apache.shiro.subject.support.DelegatingSubject DelegatingSubject implementations). |
Session | resolveSession() |
void | setAuthenticated(boolean authc) Sets whether or not the constructed Subject instance should be considered as authenticated. |
void | setAuthenticationInfo(AuthenticationInfo info) |
void | setAuthenticationToken(AuthenticationToken token) |
void | setPrincipals(PrincipalCollection principals) Sets the principals (aka identity) that the constructed Subject should reflect. |
void | setSecurityManager(SecurityManager securityManager) Sets the SecurityManager instance that should be used to back the constructed Subject instance (typically used to support org.apache.shiro.subject.support.DelegatingSubject DelegatingSubject implementations). |
void | setSession(Session session) Sets the Session to use when building the Subject instance. |
void | setSessionCreationEnabled(boolean enabled) Sets whether or not the constructed Subject instance should be allowed to create a session, false otherwise. |
void | setSubject(Subject subject) Sets the existing Subject that may be in use at the time the new Subject instance is being created. |