public void ssoTokenChanged(SSOTokenEvent evt){
  try {
    int type=evt.getType();
switch (type) {
case SSOTokenEvent.SSO_TOKEN_IDLE_TIMEOUT:
case SSOTokenEvent.SSO_TOKEN_MAX_TIMEOUT:
case SSOTokenEvent.SSO_TOKEN_DESTROY:
      SSOToken token=evt.getToken();
    clearAllData(token.getTokenID());
  break;
}
}
 catch (SSOException ssoe) {
}
}

public void ssoTokenChanged ( SSOTokenEvent evt ) { try { int type = evt . getType ( ) ; switch ( type ) { case SSOTokenEvent . SSO_TOKEN_IDLE_TIMEOUT : case SSOTokenEvent . SSO_TOKEN_MAX_TIMEOUT : case SSOTokenEvent . SSO_TOKEN_DESTROY : SSOToken token = evt . getToken ( ) ; clearAllData ( token . getTokenID ( ) ) ; break ; } } catch ( SSOException ssoe ) { } }
gets notification when single sign on token changes state .
