Package org.keycloak.broker.saml
Class SAMLEndpoint
java.lang.Object
org.keycloak.broker.saml.SAMLEndpoint
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
protected class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final IdentityProvider.AuthenticationCallback
protected final SAMLIdentityProviderConfig
protected EventBuilder
protected static final org.jboss.logging.Logger
protected final SAMLIdentityProvider
protected final RealmModel
static final String
static final String
static final String
static final String
Deprecated.static final String
Deprecated.static final String
static final String
-
Constructor Summary
ConstructorDescriptionSAMLEndpoint
(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
postBinding
(String samlRequest, String samlResponse, String relayState) jakarta.ws.rs.core.Response
postBinding
(String samlRequest, String samlResponse, String relayState, String clientId) jakarta.ws.rs.core.Response
redirectBinding
(String samlRequest, String samlResponse, String relayState) jakarta.ws.rs.core.Response
redirectBinding
(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
-
redirectBinding
-
postBinding
@Path("clients/{client_id}") @POST @Consumes("application/x-www-form-urlencoded") public jakarta.ws.rs.core.Response postBinding(@FormParam("SAMLRequest") String samlRequest, @FormParam("SAMLResponse") String samlResponse, @FormParam("RelayState") String relayState, @PathParam("client_id") String clientId)
-