Package com.iplanet.sso
Interface SSOTokenEvent
-
public interface SSOTokenEventTheSSOTokenEventis an interface that represents an SSO token event.The single sign on token event represents a change inSSOToken. The following are possible SSO token event types:SSO_TOKEN_IDLE_TIMEOUT,SSO_TOKEN_MAX_TIMEOUTandSSO_TOKEN_DESTROYSSO_TOKEN_PROPERTY_CHANGED
-
-
Field Summary
Fields Modifier and Type Field Description static intSSO_TOKEN_DESTROYSSO Token destroy event.static intSSO_TOKEN_IDLE_TIMEOUTSSO Token idle timeout event.static intSSO_TOKEN_MAX_TIMEOUTSSO Token maximum time out event.static intSSO_TOKEN_PROPERTY_CHANGEDSSO Token property changed event.static intSSO_TOKEN_URL_EVENT_ADDEDSSO Token url added event.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetTime()Returns the time of this event.SSOTokengetToken()Returns theSSOTokenassociated with the SSO Token event.intgetType()Returns the type of this event.
-
-
-
Field Detail
-
SSO_TOKEN_IDLE_TIMEOUT
static final int SSO_TOKEN_IDLE_TIMEOUT
SSO Token idle timeout event.- See Also:
- Constant Field Values
-
SSO_TOKEN_MAX_TIMEOUT
static final int SSO_TOKEN_MAX_TIMEOUT
SSO Token maximum time out event.- See Also:
- Constant Field Values
-
SSO_TOKEN_DESTROY
static final int SSO_TOKEN_DESTROY
SSO Token destroy event.- See Also:
- Constant Field Values
-
SSO_TOKEN_PROPERTY_CHANGED
static final int SSO_TOKEN_PROPERTY_CHANGED
SSO Token property changed event.- See Also:
- Constant Field Values
-
SSO_TOKEN_URL_EVENT_ADDED
static final int SSO_TOKEN_URL_EVENT_ADDED
SSO Token url added event.- See Also:
- Constant Field Values
-
-
Method Detail
-
getToken
SSOToken getToken()
Returns theSSOTokenassociated with the SSO Token event.- Returns:
SSOToken
-
getTime
long getTime()
Returns the time of this event.- Returns:
- The event time as
UTCmilliseconds from the epoch.
-
getType
int getType() throws SSOExceptionReturns the type of this event.- Returns:
- The type of this event. Possible types are :
SSO_TOKEN_IDLE_TIMEOUTSSO_TOKEN_MAX_TIMEOUTSSO_TOKEN_DESTROY and
SSO_TOKEN_PROPERTY_CHANGED
- Throws:
SSOException- if theSSOTokenEventtype is not one of the above.
-
-