protected SamlAuthenticationHandler createBrowserHandler(HttpFacade facade, SamlDeployment deployment, SamlSessionStore sessionStore) { return WebBrowserSsoAuthenticationHandler.create(facade, deployment, sessionStore); } }
@Override protected SamlAuthenticationHandler createBrowserHandler(HttpFacade facade, SamlDeployment deployment, SamlSessionStore sessionStore) { return new BrowserHandler(facade, deployment, sessionStore); }
public static SamlAuthenticationHandler create(HttpFacade facade, SamlDeployment deployment, SamlSessionStore sessionStore) { return new WebBrowserSsoAuthenticationHandler(facade, deployment, sessionStore); }
@Override public AuthOutcome handle(OnSessionCreated onCreateSession) { String samlRequest = facade.getRequest().getFirstParam(GeneralConstants.SAML_REQUEST_KEY); String samlResponse = facade.getRequest().getFirstParam(GeneralConstants.SAML_RESPONSE_KEY); String relayState = facade.getRequest().getFirstParam(GeneralConstants.RELAY_STATE); if (samlRequest != null) { return handleSamlRequest(samlRequest, relayState); } else if (samlResponse != null) { return handleSamlResponse(samlResponse, relayState, onCreateSession); } return AuthOutcome.NOT_ATTEMPTED; } }
@Override protected SamlAuthenticationHandler createBrowserHandler(HttpFacade facade, SamlDeployment deployment, SamlSessionStore sessionStore) { return new SamlEndpoint(facade, deployment, sessionStore); }
@Override public AuthOutcome handle(OnSessionCreated onCreateSession) { return doHandle(new SamlInvocationContext(null, null, null), onCreateSession); } }
@Override protected AuthOutcome handleRequest() { boolean globalLogout = "true".equals(facade.getRequest().getQueryParamValue("GLO")); if (globalLogout) { return globalLogout(); } return AuthOutcome.AUTHENTICATED; }
@Override public AuthOutcome handle(OnSessionCreated onCreateSession) { return doHandle(new SamlInvocationContext(facade.getRequest().getFirstParam(GeneralConstants.SAML_REQUEST_KEY), facade.getRequest().getFirstParam(GeneralConstants.SAML_RESPONSE_KEY), facade.getRequest().getFirstParam(GeneralConstants.RELAY_STATE)), onCreateSession); }