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);
}
}
Aggregations