Search in sources :

Example 1 with SSOSessionListener

use of com.iplanet.sso.providers.dpro.SSOSessionListener in project OpenAM by OpenRock.

the class StatelessSSOToken method addSSOTokenListener.

@Override
public void addSSOTokenListener(SSOTokenListener listener) throws SSOException {
    try {
        SessionListener ssoListener = new SSOSessionListener(listener);
        session.addSessionListener(ssoListener);
    } catch (Exception e) {
        DEBUG.error("Couldn't add listener to the token {}", session.getID(), e);
        throw new SSOException(e);
    }
}
Also used : SSOException(com.iplanet.sso.SSOException) SessionListener(com.iplanet.dpro.session.SessionListener) SSOSessionListener(com.iplanet.sso.providers.dpro.SSOSessionListener) SSOException(com.iplanet.sso.SSOException) SessionException(com.iplanet.dpro.session.SessionException) SSOSessionListener(com.iplanet.sso.providers.dpro.SSOSessionListener)

Aggregations

SessionException (com.iplanet.dpro.session.SessionException)1 SessionListener (com.iplanet.dpro.session.SessionListener)1 SSOException (com.iplanet.sso.SSOException)1 SSOSessionListener (com.iplanet.sso.providers.dpro.SSOSessionListener)1