Package org.keycloak.broker.saml
Class SAMLEndpoint
- java.lang.Object
- 
- org.keycloak.broker.saml.SAMLEndpoint
 
- 
 public class SAMLEndpoint extends Object - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classSAMLEndpoint.Bindingprotected classSAMLEndpoint.PostBindingprotected classSAMLEndpoint.RedirectBinding
 - 
Field SummaryFields Modifier and Type Field Description protected IdentityProvider.AuthenticationCallbackcallbackprotected SAMLIdentityProviderConfigconfigstatic StringENCRYPTION_DEPRECATED_MODE_PROPERTYprotected EventBuildereventprotected static org.jboss.logging.Loggerloggerprotected SAMLIdentityProviderproviderprotected RealmModelrealmstatic StringSAML_ASSERTIONstatic StringSAML_AUTHN_STATEMENTstatic StringSAML_FEDERATED_SESSION_INDEXstatic StringSAML_FEDERATED_SUBJECTDeprecated.static StringSAML_FEDERATED_SUBJECT_NAMEFORMATDeprecated.static StringSAML_FEDERATED_SUBJECT_NAMEIDstatic StringSAML_LOGIN_RESPONSE
 - 
Constructor SummaryConstructors Constructor Description SAMLEndpoint(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetSPDescriptor()javax.ws.rs.core.ResponsepostBinding(String samlRequest, String samlResponse, String relayState)javax.ws.rs.core.ResponsepostBinding(String samlRequest, String samlResponse, String relayState, String clientId)javax.ws.rs.core.ResponseredirectBinding(String samlRequest, String samlResponse, String relayState)javax.ws.rs.core.ResponseredirectBinding(String samlRequest, String samlResponse, String relayState, String clientId)
 
- 
- 
- 
Field Detail- 
loggerprotected static final org.jboss.logging.Logger logger 
 - 
SAML_FEDERATED_SESSION_INDEXpublic static final String SAML_FEDERATED_SESSION_INDEX - See Also:
- Constant Field Values
 
 - 
SAML_FEDERATED_SUBJECT@Deprecated public static final String SAML_FEDERATED_SUBJECT Deprecated.- See Also:
- Constant Field Values
 
 - 
SAML_FEDERATED_SUBJECT_NAMEFORMAT@Deprecated public static final String SAML_FEDERATED_SUBJECT_NAMEFORMAT Deprecated.- See Also:
- Constant Field Values
 
 - 
SAML_FEDERATED_SUBJECT_NAMEIDpublic static final String SAML_FEDERATED_SUBJECT_NAMEID - See Also:
- Constant Field Values
 
 - 
SAML_LOGIN_RESPONSEpublic static final String SAML_LOGIN_RESPONSE - See Also:
- Constant Field Values
 
 - 
SAML_ASSERTIONpublic static final String SAML_ASSERTION - See Also:
- Constant Field Values
 
 - 
SAML_AUTHN_STATEMENTpublic static final String SAML_AUTHN_STATEMENT - See Also:
- Constant Field Values
 
 - 
realmprotected final RealmModel realm 
 - 
eventprotected EventBuilder event 
 - 
configprotected final SAMLIdentityProviderConfig config 
 - 
callbackprotected final IdentityProvider.AuthenticationCallback callback 
 - 
providerprotected final SAMLIdentityProvider provider 
 - 
ENCRYPTION_DEPRECATED_MODE_PROPERTYpublic static final String ENCRYPTION_DEPRECATED_MODE_PROPERTY - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SAMLEndpointpublic SAMLEndpoint(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator) 
 
- 
 - 
Method Detail- 
getSPDescriptor@GET @Path("descriptor") public javax.ws.rs.core.Response getSPDescriptor()
 - 
redirectBinding@GET public javax.ws.rs.core.Response redirectBinding(@QueryParam("SAMLRequest") String samlRequest, @QueryParam("SAMLResponse") String samlResponse, @QueryParam("RelayState") String relayState)
 - 
postBinding@POST @Consumes("application/x-www-form-urlencoded") public javax.ws.rs.core.Response postBinding(@FormParam("SAMLRequest") String samlRequest, @FormParam("SAMLResponse") String samlResponse, @FormParam("RelayState") String relayState)
 - 
redirectBinding@Path("clients/{client_id}") @GET public javax.ws.rs.core.Response redirectBinding(@QueryParam("SAMLRequest") String samlRequest, @QueryParam("SAMLResponse") String samlResponse, @QueryParam("RelayState") String relayState, @PathParam("client_id") String clientId)
 - 
postBinding@Path("clients/{client_id}") @POST @Consumes("application/x-www-form-urlencoded") public javax.ws.rs.core.Response postBinding(@FormParam("SAMLRequest") String samlRequest, @FormParam("SAMLResponse") String samlResponse, @FormParam("RelayState") String relayState, @PathParam("client_id") String clientId)
 
- 
 
-