Class TokenEndpoint.TokenExchangeSamlProtocol
java.lang.Object
org.keycloak.protocol.saml.SamlProtocol
org.keycloak.protocol.oidc.endpoints.TokenEndpoint.TokenExchangeSamlProtocol
- All Implemented Interfaces:
LoginProtocol,Provider
- Enclosing class:
- TokenEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.protocol.saml.SamlProtocol
SamlProtocol.ProtocolMapperProcessor<T>Nested classes/interfaces inherited from interface org.keycloak.protocol.LoginProtocol
LoginProtocol.Error -
Field Summary
Fields inherited from class org.keycloak.protocol.saml.SamlProtocol
artifactResolver, ATTRIBUTE_FALSE_VALUE, ATTRIBUTE_TRUE_VALUE, CLIENT_SESSION_ID, event, headers, logger, LOGIN_PROTOCOL, realm, SAML_ARTIFACT_BINDING, SAML_ARTIFACT_RESOLUTION_SERVICE_URL_ATTRIBUTE, SAML_ASSERTION_CONSUMER_URL_ARTIFACT_ATTRIBUTE, SAML_ASSERTION_CONSUMER_URL_POST_ATTRIBUTE, SAML_ASSERTION_CONSUMER_URL_REDIRECT_ATTRIBUTE, SAML_BINDING, SAML_DEFAULT_NAMEID_FORMAT, SAML_FORCEAUTHN_REQUIREMENT, SAML_IDP_INITIATED_LOGIN, SAML_IDP_INITIATED_SSO_RELAY_STATE, SAML_IDP_INITIATED_SSO_URL_NAME, SAML_LOGIN_REQUEST_FORCEAUTHN, SAML_LOGOUT_ADD_EXTENSIONS_ELEMENT_WITH_KEY_INFO, SAML_LOGOUT_BINDING, SAML_LOGOUT_BINDING_URI, SAML_LOGOUT_CANONICALIZATION, SAML_LOGOUT_INITIATOR_CLIENT_ID, SAML_LOGOUT_RELAY_STATE, SAML_LOGOUT_REQUEST_ID, SAML_LOGOUT_SIGNATURE_ALGORITHM, SAML_NAME_ID, SAML_NAME_ID_FORMAT, SAML_PERSISTENT_NAME_ID_FOR, SAML_POST_BINDING, SAML_REDIRECT_BINDING, SAML_REQUEST_ID, SAML_REQUEST_ID_BROKER, SAML_SERVER_SIGNATURE_KEYINFO_KEY_NAME_TRANSFORMER, SAML_SINGLE_LOGOUT_SERVICE_URL_ARTIFACT_ATTRIBUTE, SAML_SINGLE_LOGOUT_SERVICE_URL_POST_ATTRIBUTE, SAML_SINGLE_LOGOUT_SERVICE_URL_REDIRECT_ATTRIBUTE, SAML_SINGLE_LOGOUT_SERVICE_URL_SOAP_ATTRIBUTE, SAML_SOAP_BINDING, session, singleUseStore, uriInfo, USER_SESSION_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.ResponsebuildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder) protected jakarta.ws.rs.core.ResponsebuildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document) Methods inherited from class org.keycloak.protocol.saml.SamlProtocol
authenticated, backchannelLogout, buildArtifactAndStoreResponse, buildArtifactAndStoreResponse, buildArtifactAuthenticatedResponse, buildLogoutArtifactResponse, buildLogoutResponse, close, createLogoutRequest, finishBrowserLogout, frontchannelLogout, getClientData, getLogoutBindingTypeForClientSession, getLogoutServiceUrl, getNameId, getNameIdFormat, getPersistentNameId, getResponseIssuer, getSAMLNameId, isLogoutPostBindingForInitiator, isPostBinding, isPostBinding, populateAttributeStatements, populateRoles, requireReauthentication, sendError, sendError, setEventBuilder, setHttpHeaders, setRealm, setSession, setUriInfo, transformLoginResponse, useArtifactForLogoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.protocol.LoginProtocol
sendPushRevocationPolicyRequest
-
Constructor Details
-
TokenExchangeSamlProtocol
-
-
Method Details
-
buildAuthenticatedResponse
protected jakarta.ws.rs.core.Response buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder) throws ConfigurationException, ProcessingException, IOException - Overrides:
buildAuthenticatedResponsein classSamlProtocol- Throws:
ConfigurationExceptionProcessingExceptionIOException
-
buildErrorResponse
protected jakarta.ws.rs.core.Response buildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document) throws ConfigurationException, ProcessingException, IOException - Overrides:
buildErrorResponsein classSamlProtocol- Throws:
ConfigurationExceptionProcessingExceptionIOException
-