net.customware.gwt.dispatch.client.secure
Class CookieSecureSessionAccessor

java.lang.Object
  extended by net.customware.gwt.dispatch.client.secure.CookieSecureSessionAccessor
All Implemented Interfaces:
SecureSessionAccessor
Direct Known Subclasses:
AppEngineSecureSessionAccessor

public class CookieSecureSessionAccessor
extends Object
implements SecureSessionAccessor


Constructor Summary
CookieSecureSessionAccessor(String cookieName)
           
 
Method Summary
 boolean clearSessionId()
          Clears the session id, effectively closing the current session.
 String getSessionId()
          Gets the current session ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CookieSecureSessionAccessor

public CookieSecureSessionAccessor(String cookieName)
Method Detail

clearSessionId

public boolean clearSessionId()
Description copied from interface: SecureSessionAccessor
Clears the session id, effectively closing the current session.

Specified by:
clearSessionId in interface SecureSessionAccessor
Returns:
true if successful.

getSessionId

public String getSessionId()
Description copied from interface: SecureSessionAccessor
Gets the current session ID.

Specified by:
getSessionId in interface SecureSessionAccessor
Returns:
The ID.


Copyright © 2011 customware.net. All Rights Reserved.