SSOSessionPersistenceManager sessionPersistenceManager = SSOSessionPersistenceManager.getPersistenceManager();
boolean isExistingSession = sessionPersistenceManager.isExistingSession(sessionId);
if(authnMode.equals(SAMLSSOConstants.AuthnModes.OPENID) && !isExistingSession){
AuthnRequestProcessor authnRequestProcessor = new AuthnRequestProcessor();
try {
return authnRequestProcessor.process(validationResp, sessionId, rpSessionId, authnMode);
} catch (Exception e) {
throw new IdentityException("Error processing the Authentication Request", e);
}
}
if (isExistingSession) {