Package org.keycloak.adapters.saml
Class AbstractInitiateLogin
- java.lang.Object
-
- org.keycloak.adapters.saml.AbstractInitiateLogin
-
- All Implemented Interfaces:
AuthChallenge
public abstract class AbstractInitiateLogin extends Object implements AuthChallenge
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected SamlDeploymentdeploymentprotected static org.jboss.logging.Loggerlogprotected SamlSessionStoresessionStore
-
Constructor Summary
Constructors Constructor Description AbstractInitiateLogin(SamlDeployment deployment, SamlSessionStore sessionStore)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SAML2AuthnRequestBuilderbuildSaml2AuthnRequestBuilder(SamlDeployment deployment)booleanchallenge(HttpFacade httpFacade)static BaseSAML2BindingBuildercreateSaml2Binding(SamlDeployment deployment)intgetResponseCode()protected abstract voidsendAuthnRequest(HttpFacade httpFacade, SAML2AuthnRequestBuilder authnRequestBuilder, BaseSAML2BindingBuilder binding)
-
-
-
Field Detail
-
log
protected static org.jboss.logging.Logger log
-
deployment
protected SamlDeployment deployment
-
sessionStore
protected SamlSessionStore sessionStore
-
-
Constructor Detail
-
AbstractInitiateLogin
public AbstractInitiateLogin(SamlDeployment deployment, SamlSessionStore sessionStore)
-
-
Method Detail
-
getResponseCode
public int getResponseCode()
- Specified by:
getResponseCodein interfaceAuthChallenge
-
challenge
public boolean challenge(HttpFacade httpFacade)
- Specified by:
challengein interfaceAuthChallenge
-
createSaml2Binding
public static BaseSAML2BindingBuilder createSaml2Binding(SamlDeployment deployment)
-
buildSaml2AuthnRequestBuilder
public static SAML2AuthnRequestBuilder buildSaml2AuthnRequestBuilder(SamlDeployment deployment)
-
sendAuthnRequest
protected abstract void sendAuthnRequest(HttpFacade httpFacade, SAML2AuthnRequestBuilder authnRequestBuilder, BaseSAML2BindingBuilder binding) throws ProcessingException, ConfigurationException, IOException
-
-