Class MoodleAuthenticatorFactory

java.lang.Object
org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
All Implemented Interfaces:
org.keycloak.authentication.AuthenticatorFactory, org.keycloak.authentication.ConfigurableAuthenticatorFactory, org.keycloak.provider.ConfiguredProvider, org.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>

public class MoodleAuthenticatorFactory extends Object implements org.keycloak.authentication.AuthenticatorFactory
  • Field Details

  • Constructor Details

  • Method Details

    • create

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

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

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

      public void close()
      Specified by:
      close in interface org.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
    • getId

      public String getId()
      Specified by:
      getId in interface org.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
    • getReferenceCategory

      Specified by:
      getReferenceCategory in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
    • isConfigurable

      public boolean isConfigurable()
      Specified by:
      isConfigurable in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
    • getDisplayType

      Specified by:
      getDisplayType in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
    • getRequirementChoices

      public org.keycloak.models.AuthenticationExecutionModel.Requirement[] getRequirementChoices()
      Specified by:
      getRequirementChoices in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
    • isUserSetupAllowed

      public boolean isUserSetupAllowed()
      Checks if is user setup allowed (it isn’t for this provider).
      Specified by:
      isUserSetupAllowed in interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
      Returns:
      false
    • getHelpText

      public String getHelpText()
      Specified by:
      getHelpText in interface org.keycloak.provider.ConfiguredProvider
    • getConfigProperties

      public List<org.keycloak.provider.ProviderConfigProperty> getConfigProperties()
      Specified by:
      getConfigProperties in interface org.keycloak.provider.ConfiguredProvider