org.acegisecurity.concurrent
Interface SessionIdentifierAware

All Known Implementing Classes:
WebAuthenticationDetails

public interface SessionIdentifierAware

Implemented by Authentication.getDetails() implementations that are capable of returning a session ID.

This interface is used by SessionRegistryUtils to extract the session ID from an Authentication object. In turn, SessionRegistryUtils is used by ConcurrentSessionControllerImpl. If not using this latter implementation, you do not need the Authentication.getDetails() object to implement SessionIdentifierAware.

Version:
$Id: SessionIdentifierAware.java 1784 2007-02-24 21:00:24Z luke_t $
Author:
Ben Alex

Method Summary
 java.lang.String getSessionId()
          Obtains the session ID.
 

Method Detail

getSessionId

java.lang.String getSessionId()
Obtains the session ID.

Returns:
the session ID, or null if not known.


Copyright © 2004-2012 Interface21, Inc. All Rights Reserved.