Package | Description |
---|---|
org.apache.shiro.mgt |
Provides the master
SecurityManager interface and a default implementation
hierarchy for managing all aspects of Shiro's functionality in an application. |
org.apache.shiro.session |
Components related to managing sessions, the time-based data contexts in which a Subject
interacts with an application.
|
org.apache.shiro.session.mgt |
SessionManager components supporting enterprise session management. |
org.apache.shiro.subject.support |
Concrete support implementations of most of the
org.apache.shiro.subject interfaces. |
org.apache.shiro.web.session.mgt |
Modifier and Type | Method and Description |
---|---|
Session |
SessionsSecurityManager.getSession(SessionKey key) |
Modifier and Type | Class and Description |
---|---|
class |
ExpiredSessionException
A special case of a StoppedSessionException.
|
class |
InvalidSessionException
Exception thrown when attempting to interact with the system under an established session
when that session is considered invalid.
|
class |
StoppedSessionException
Exception thrown when attempting to interact with the system under a session that has been
stopped.
|
class |
UnknownSessionException
Exception thrown when attempting to interact with the system under the pretense of a
particular session (e.g. under a specific session id), and that session does not exist in
the system.
|
Modifier and Type | Method and Description |
---|---|
Session |
SessionManager.getSession(SessionKey key)
Retrieves the session corresponding to the specified contextual data (such as a session ID if applicable), or
null if no Session could be found. |
Session |
AbstractNativeSessionManager.getSession(SessionKey key) |
Modifier and Type | Class and Description |
---|---|
class |
DisabledSessionException
Exception thrown if attempting to create a new
Subject
session , but that Subject 's sessions are disabled. |
Modifier and Type | Method and Description |
---|---|
Session |
ServletContainerSessionManager.getSession(SessionKey key) |
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.