Package org.keycloak.broker.saml
Class SAMLEndpoint
java.lang.Object
org.keycloak.broker.saml.SAMLEndpoint
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected classprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IdentityProvider.AuthenticationCallbackprotected final SAMLIdentityProviderConfigprotected EventBuilderprotected static final org.jboss.logging.Loggerprotected final SAMLIdentityProviderprotected final RealmModelstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final StringDeprecated.static final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionSAMLEndpoint(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsepostBinding(String samlRequest, String samlResponse, String samlArt, String relayState) jakarta.ws.rs.core.ResponsepostBindingIdpInitiated(String samlRequest, String samlResponse, String relayState, String clientId) jakarta.ws.rs.core.ResponseredirectBinding(String samlRequest, String samlResponse, String samlArt, String relayState) jakarta.ws.rs.core.ResponseredirectBindingIdpInitiated(String samlRequest, String samlResponse, String relayState, String clientId)
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger -
SAML_FEDERATED_SESSION_INDEX
- See Also:
-
SAML_FEDERATED_SUBJECT
Deprecated.- See Also:
-
SAML_FEDERATED_SUBJECT_NAMEFORMAT
Deprecated.- See Also:
-
SAML_FEDERATED_SUBJECT_NAMEID
- See Also:
-
SAML_LOGIN_RESPONSE
- See Also:
-
SAML_ASSERTION
- See Also:
-
SAML_AUTHN_STATEMENT
- See Also:
-
realm
-
event
-
config
-
callback
-
provider
-
-
Constructor Details
-
SAMLEndpoint
public SAMLEndpoint(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator)
-
-
Method Details
-
getSPDescriptor
@GET @Path("descriptor") public jakarta.ws.rs.core.Response getSPDescriptor() -
redirectBinding
-
postBinding
-
redirectBindingIdpInitiated
-
postBindingIdpInitiated
@Path("clients/{client_id}") @POST @Consumes("application/x-www-form-urlencoded") public jakarta.ws.rs.core.Response postBindingIdpInitiated(@FormParam("SAMLRequest") String samlRequest, @FormParam("SAMLResponse") String samlResponse, @FormParam("RelayState") String relayState, @PathParam("client_id") String clientId)
-