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 UserAuthenticationIdentityProvider.AuthenticationCallbackprotected final ClientConnectionprotected final SAMLIdentityProviderConfigprotected final DestinationValidatorprotected EventBuilderprotected final jakarta.ws.rs.core.HttpHeadersprotected static final org.jboss.logging.Loggerprotected final longprotected final SAMLIdentityProviderprotected final RealmModelstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final StringDeprecated.static final Stringstatic final Stringprotected final KeycloakSession -
Constructor Summary
ConstructorsConstructorDescriptionSAMLEndpoint(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, UserAuthenticationIdentityProvider.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
-
destinationValidator
-
session
-
clientConnection
-
headers
protected final jakarta.ws.rs.core.HttpHeaders headers -
maxInflatingSize
protected final long maxInflatingSize
-
-
Constructor Details
-
SAMLEndpoint
public SAMLEndpoint(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, UserAuthenticationIdentityProvider.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)
-