com.silverpeas.session
Class SessionValidationContext

java.lang.Object
  extended by com.silverpeas.session.SessionValidationContext

public class SessionValidationContext
extends Object

This class handles context data to perform a session validation.


Method Summary
 String getSessionKey()
           
 boolean mustSkipLastUserAccessTimeRegistering()
          Indicates if the last user access time registering must be skipped from the session validation.
 SessionValidationContext skipLastUserAccessTimeRegistering()
          Sets that the last user access time registering must be skipped from the session validation.
static SessionValidationContext withSessionKey(String sessionKey)
          Initializing a session validation context with the specified session key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withSessionKey

public static SessionValidationContext withSessionKey(String sessionKey)
Initializing a session validation context with the specified session key.

Parameters:
sessionKey - the session key the context must provide.
Returns:
the instance of the new created context.

getSessionKey

public String getSessionKey()

skipLastUserAccessTimeRegistering

public SessionValidationContext skipLastUserAccessTimeRegistering()
Sets that the last user access time registering must be skipped from the session validation.

Returns:
itself.

mustSkipLastUserAccessTimeRegistering

public boolean mustSkipLastUserAccessTimeRegistering()
Indicates if the last user access time registering must be skipped from the session validation.

Returns:
true if the last user access time registering must be skipped, false otherwise.


Copyright © 2016 Silverpeas. All Rights Reserved.