Class AbstractClientAuthenticator

  • All Implemented Interfaces:
    org.keycloak.authentication.ClientAuthenticator, org.keycloak.authentication.ClientAuthenticatorFactory, org.keycloak.authentication.ConfigurableAuthenticatorFactory, org.keycloak.provider.ConfiguredProvider, org.keycloak.provider.Provider, org.keycloak.provider.ProviderFactory<org.keycloak.authentication.ClientAuthenticator>
    Direct Known Subclasses:
    ClientIdAndSecretAuthenticator, JWTClientAuthenticator, JWTClientSecretAuthenticator, X509ClientAuthenticator

    public abstract class AbstractClientAuthenticator
    extends Object
    implements org.keycloak.authentication.ClientAuthenticator, org.keycloak.authentication.ClientAuthenticatorFactory
    Author:
    Marek Posolda
    • Field Summary

      • Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory

        REQUIREMENT_CHOICES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      org.keycloak.authentication.ClientAuthenticator create()  
      org.keycloak.authentication.ClientAuthenticator create​(org.keycloak.models.KeycloakSession session)  
      String getReferenceCategory()  
      void init​(org.keycloak.Config.Scope config)  
      protected boolean isFormDataRequest​(org.jboss.resteasy.spi.HttpRequest request)  
      boolean isUserSetupAllowed()  
      void postInit​(org.keycloak.models.KeycloakSessionFactory factory)  
      • Methods inherited from interface org.keycloak.authentication.ClientAuthenticator

        authenticateClient
      • Methods inherited from interface org.keycloak.authentication.ClientAuthenticatorFactory

        getAdapterConfiguration, getConfigPropertiesPerClient, getProtocolAuthenticatorMethods, isConfigurable
      • Methods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory

        getDisplayType, getRequirementChoices
      • Methods inherited from interface org.keycloak.provider.ConfiguredProvider

        getConfig, getConfigProperties, getHelpText
      • Methods inherited from interface org.keycloak.provider.ProviderFactory

        getConfigMetadata, getId, order
    • Constructor Detail

      • AbstractClientAuthenticator

        public AbstractClientAuthenticator()
    • Method Detail

      • create

        public org.keycloak.authentication.ClientAuthenticator create()
        Specified by:
        create in interface org.keycloak.authentication.ClientAuthenticatorFactory
      • close

        public void close()
        Specified by:
        close in interface org.keycloak.provider.Provider
        Specified by:
        close in interface org.keycloak.provider.ProviderFactory<org.keycloak.authentication.ClientAuthenticator>
      • create

        public org.keycloak.authentication.ClientAuthenticator create​(org.keycloak.models.KeycloakSession session)
        Specified by:
        create in interface org.keycloak.provider.ProviderFactory<org.keycloak.authentication.ClientAuthenticator>
      • init

        public void init​(org.keycloak.Config.Scope config)
        Specified by:
        init in interface org.keycloak.provider.ProviderFactory<org.keycloak.authentication.ClientAuthenticator>
      • postInit

        public void postInit​(org.keycloak.models.KeycloakSessionFactory factory)
        Specified by:
        postInit in interface org.keycloak.provider.ProviderFactory<org.keycloak.authentication.ClientAuthenticator>
      • isUserSetupAllowed

        public boolean isUserSetupAllowed()
        Specified by:
        isUserSetupAllowed in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
      • getReferenceCategory

        public String getReferenceCategory()
        Specified by:
        getReferenceCategory in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
      • isFormDataRequest

        protected boolean isFormDataRequest​(org.jboss.resteasy.spi.HttpRequest request)