Package org.jdrupes.keycloak.moodleauth
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 Summary
Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.keycloak.authentication.Authenticator
create
(org.keycloak.models.KeycloakSession session) List
<org.keycloak.provider.ProviderConfigProperty> getId()
org.keycloak.models.AuthenticationExecutionModel.Requirement[]
void
init
(org.keycloak.Config.Scope config) boolean
boolean
Checks if is user setup allowed (it isn’t for this provider).void
postInit
(org.keycloak.models.KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
MOODLE_URL
- See Also:
-
-
Constructor Details
-
MoodleAuthenticatorFactory
public MoodleAuthenticatorFactory()
-
-
Method Details
-
create
public org.keycloak.authentication.Authenticator create(org.keycloak.models.KeycloakSession session) - Specified by:
create
in interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
-
init
- Specified by:
init
in interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
-
postInit
- Specified by:
postInit
in interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
-
close
- Specified by:
close
in interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
-
getId
- Specified by:
getId
in interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
-
getReferenceCategory
- Specified by:
getReferenceCategory
in interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory
-
isConfigurable
- Specified by:
isConfigurable
in interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory
-
getDisplayType
- Specified by:
getDisplayType
in interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory
-
getRequirementChoices
- Specified by:
getRequirementChoices
in interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory
-
isUserSetupAllowed
Checks if is user setup allowed (it isn’t for this provider).- Specified by:
isUserSetupAllowed
in interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory
- Returns:
- false
-
getHelpText
- Specified by:
getHelpText
in interfaceorg.keycloak.provider.ConfiguredProvider
-
getConfigProperties
- Specified by:
getConfigProperties
in interfaceorg.keycloak.provider.ConfiguredProvider
-