Uses of Interface
org.apache.shiro.session.mgt.SessionKey

Packages that use SessionKey
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.mgt SessionManager components supporting enterprise session management. 
 

Uses of SessionKey in org.apache.shiro.mgt
 

Methods in org.apache.shiro.mgt that return SessionKey
protected  SessionKey DefaultSecurityManager.getSessionKey(SubjectContext context)
           
 

Methods in org.apache.shiro.mgt with parameters of type SessionKey
 Session SessionsSecurityManager.getSession(SessionKey key)
           
 

Uses of SessionKey in org.apache.shiro.session.mgt
 

Classes in org.apache.shiro.session.mgt that implement SessionKey
 class DefaultSessionKey
          Default implementation of the SessionKey interface, which allows setting and retrieval of a concrete sessionId that the SessionManager implementation can use to look up a Session instance.
 

Methods in org.apache.shiro.session.mgt with parameters of type SessionKey
 void NativeSessionManager.checkValid(SessionKey key)
          Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws an InvalidSessionException indicating that the session id is invalid.
 void AbstractNativeSessionManager.checkValid(SessionKey key)
           
protected  Session AbstractNativeSessionManager.createExposedSession(Session session, SessionKey key)
           
protected  Session AbstractValidatingSessionManager.doGetSession(SessionKey key)
           
protected abstract  Session AbstractNativeSessionManager.doGetSession(SessionKey key)
           
 Object NativeSessionManager.getAttribute(SessionKey sessionKey, Object attributeKey)
          Returns the object bound to the associated session identified by the specified attribute key.
 Object AbstractNativeSessionManager.getAttribute(SessionKey sessionKey, Object attributeKey)
           
 Collection<Object> NativeSessionManager.getAttributeKeys(SessionKey sessionKey)
          Returns all attribute keys maintained by the target session or an empty collection if there are no attributes.
 Collection<Object> AbstractNativeSessionManager.getAttributeKeys(SessionKey key)
           
 String NativeSessionManager.getHost(SessionKey key)
          Returns the host name or IP string of the host where the session was started, if known.
 String AbstractNativeSessionManager.getHost(SessionKey key)
           
 Date NativeSessionManager.getLastAccessTime(SessionKey key)
          Returns the time the associated Session last interacted with the system.
 Date AbstractNativeSessionManager.getLastAccessTime(SessionKey key)
           
 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)
           
protected  Serializable DefaultSessionManager.getSessionId(SessionKey sessionKey)
           
 Date NativeSessionManager.getStartTimestamp(SessionKey key)
          Returns the time the associated Session started (was created).
 Date AbstractNativeSessionManager.getStartTimestamp(SessionKey key)
           
 long NativeSessionManager.getTimeout(SessionKey key)
          Returns the time in milliseconds that the associated session may remain idle before expiring.
 long AbstractNativeSessionManager.getTimeout(SessionKey key)
           
 boolean NativeSessionManager.isValid(SessionKey key)
          Returns true if the associated session is valid (it exists and is not stopped nor expired), false otherwise.
 boolean AbstractNativeSessionManager.isValid(SessionKey key)
           
protected  void AbstractValidatingSessionManager.onExpiration(Session s, ExpiredSessionException ese, SessionKey key)
           
protected  void AbstractValidatingSessionManager.onInvalidation(Session s, InvalidSessionException ise, SessionKey key)
           
protected  void AbstractNativeSessionManager.onStop(Session session, SessionKey key)
           
 Object NativeSessionManager.removeAttribute(SessionKey sessionKey, Object attributeKey)
          Removes (unbinds) the object bound to associated Session under the given attributeKey.
 Object AbstractNativeSessionManager.removeAttribute(SessionKey sessionKey, Object attributeKey)
           
protected  Session DefaultSessionManager.retrieveSession(SessionKey sessionKey)
           
protected abstract  Session AbstractValidatingSessionManager.retrieveSession(SessionKey key)
          Looks up a session from the underlying data store based on the specified session key.
 void NativeSessionManager.setAttribute(SessionKey sessionKey, Object attributeKey, Object value)
          Binds the specified value to the associated session uniquely identified by the attributeKey.
 void AbstractNativeSessionManager.setAttribute(SessionKey sessionKey, Object attributeKey, Object value)
           
 void NativeSessionManager.setTimeout(SessionKey key, long maxIdleTimeInMillis)
          Sets the time in milliseconds that the associated session may remain idle before expiring.
 void AbstractNativeSessionManager.setTimeout(SessionKey key, long maxIdleTimeInMillis)
           
 void NativeSessionManager.stop(SessionKey key)
          Explicitly stops the associated session, thereby releasing all of its resources.
 void AbstractNativeSessionManager.stop(SessionKey key)
           
 void NativeSessionManager.touch(SessionKey key)
          Updates the last accessed time of the session identified by sessionId.
 void AbstractNativeSessionManager.touch(SessionKey key)
           
protected  void AbstractValidatingSessionManager.validate(Session session, SessionKey key)
           
 

Constructors in org.apache.shiro.session.mgt with parameters of type SessionKey
DelegatingSession(NativeSessionManager sessionManager, SessionKey key)
           
 



Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.