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
  • Constructor Details

    • TokenExchangeSamlProtocol

      public TokenExchangeSamlProtocol(SamlClient samlClient)
  • Method Details

    • buildAuthenticatedResponse

      protected jakarta.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 class SamlProtocol
      Throws:
      org.keycloak.saml.common.exceptions.ConfigurationException
      org.keycloak.saml.common.exceptions.ProcessingException
      IOException
    • buildErrorResponse

      protected jakarta.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 class SamlProtocol
      Throws:
      org.keycloak.saml.common.exceptions.ConfigurationException
      org.keycloak.saml.common.exceptions.ProcessingException
      IOException