Class TokenEndpoint.TokenExchangeSamlProtocol
- java.lang.Object
-
- org.keycloak.protocol.saml.SamlProtocol
-
- org.keycloak.protocol.oidc.endpoints.TokenEndpoint.TokenExchangeSamlProtocol
-
- All Implemented Interfaces:
org.keycloak.protocol.LoginProtocol
,org.keycloak.provider.Provider
- Enclosing class:
- TokenEndpoint
public static class TokenEndpoint.TokenExchangeSamlProtocol extends SamlProtocol
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.keycloak.protocol.saml.SamlProtocol
SamlProtocol.ProtocolMapperProcessor<T>
-
-
Field Summary
-
Fields inherited from class org.keycloak.protocol.saml.SamlProtocol
artifactResolver, artifactSessionMappingStore, ATTRIBUTE_FALSE_VALUE, ATTRIBUTE_TRUE_VALUE, event, headers, logger, LOGIN_PROTOCOL, realm, 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_SOAP_BINDING, session, uriInfo
-
-
Constructor Summary
Constructors Constructor Description TokenExchangeSamlProtocol(SamlClient samlClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.Response
buildAuthenticatedResponse(org.keycloak.models.AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder)
protected javax.ws.rs.core.Response
buildErrorResponse(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, getLogoutServiceUrl, getNameId, getNameIdFormat, getPersistentNameId, getResponseIssuer, getSAMLNameId, isLogoutPostBindingForClient, isLogoutPostBindingForInitiator, isPostBinding, isPostBinding, populateAttributeStatements, populateRoles, requireReauthentication, sendError, setEventBuilder, setHttpHeaders, setRealm, setSession, setUriInfo, transformLoginResponse, useArtifactForLogout
-
-
-
-
Constructor Detail
-
TokenExchangeSamlProtocol
public TokenExchangeSamlProtocol(SamlClient samlClient)
-
-
Method Detail
-
buildAuthenticatedResponse
protected javax.ws.rs.core.Response buildAuthenticatedResponse(org.keycloak.models.AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder) throws org.keycloak.saml.common.exceptions.ConfigurationException, org.keycloak.saml.common.exceptions.ProcessingException, IOException
- Overrides:
buildAuthenticatedResponse
in classSamlProtocol
- Throws:
org.keycloak.saml.common.exceptions.ConfigurationException
org.keycloak.saml.common.exceptions.ProcessingException
IOException
-
buildErrorResponse
protected javax.ws.rs.core.Response buildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document) throws org.keycloak.saml.common.exceptions.ConfigurationException, org.keycloak.saml.common.exceptions.ProcessingException, IOException
- Overrides:
buildErrorResponse
in classSamlProtocol
- Throws:
org.keycloak.saml.common.exceptions.ConfigurationException
org.keycloak.saml.common.exceptions.ProcessingException
IOException
-
-