com.iplanet.sso
Interface SSOTokenEvent


public interface SSOTokenEvent

The SSOTokenEvent class represents an SSO token event. The single sign on token event represents a change in SSOToken.

The following are possible SSO token event types:


Field Summary
static int SSO_TOKEN_DESTROY
          SSO Token destroy event
static int SSO_TOKEN_IDLE_TIMEOUT
          SSO Token idle timeout event
static int SSO_TOKEN_MAX_TIMEOUT
          SSO Token maximum time out event
 
Method Summary
 long getTime()
          Gets the time of this event.
 SSOToken getToken()
          Returns the SSOToken associated with the SSO Event.
 int getType()
          Gets the type of this event.
 

Field Detail

SSO_TOKEN_IDLE_TIMEOUT

public static final int SSO_TOKEN_IDLE_TIMEOUT
SSO Token idle timeout event

SSO_TOKEN_MAX_TIMEOUT

public static final int SSO_TOKEN_MAX_TIMEOUT
SSO Token maximum time out event

SSO_TOKEN_DESTROY

public static final int SSO_TOKEN_DESTROY
SSO Token destroy event
Method Detail

getToken

public SSOToken getToken()
Returns the SSOToken associated with the SSO Event.
Returns:
SSOToken

getTime

public long getTime()
Gets the time of this event.
Returns:
The event time as UTC milliseconds from the epoch.

getType

public int getType()
            throws SSOException
Gets the type of this event.
Returns:
The type of this event. Possible types are :
  • SSO_TOKEN_IDLE_TIMEOUT,
  • SSO_TOKEN_MAX_TIMEOUT and
  • SSO_TOKEN_DESTROY
Throws:
SSOException - if the SSOTokenEvent type is not one of the above