Package org.keycloak.protocol.docker
Class DockerAuthV2ProtocolFactory
java.lang.Object
org.keycloak.protocol.AbstractLoginProtocolFactory
org.keycloak.protocol.docker.DockerAuthV2ProtocolFactory
- All Implemented Interfaces:
LoginProtocolFactory
,EnvironmentDependentProviderFactory
,ProviderFactory<LoginProtocol>
public class DockerAuthV2ProtocolFactory
extends AbstractLoginProtocolFactory
implements EnvironmentDependentProviderFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDefaults
(ClientModel client) create
(KeycloakSession session) protected void
createDefaultClientScopesImpl
(RealmModel newRealm) Impl should create default client scopes.createProtocolEndpoint
(KeycloakSession session, EventBuilder event) List of built in protocol mappers that can be used to apply to clients.getId()
boolean
isSupported
(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.int
order()
void
setupClientDefaults
(ClientRepresentation rep, ClientModel newClient) Setup default values for new clients.Methods inherited from class org.keycloak.protocol.AbstractLoginProtocolFactory
addDefaultClientScopes, addDefaultClientScopes, close, createDefaultClientScopes, init, postInit
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.ProviderFactory
getConfigMetadata
-
Constructor Details
-
DockerAuthV2ProtocolFactory
public DockerAuthV2ProtocolFactory()
-
-
Method Details
-
createDefaultClientScopesImpl
Description copied from class:AbstractLoginProtocolFactory
Impl should create default client scopes. This is called usually when new realm is created- Specified by:
createDefaultClientScopesImpl
in classAbstractLoginProtocolFactory
-
addDefaults
- Specified by:
addDefaults
in classAbstractLoginProtocolFactory
-
getBuiltinMappers
Description copied from interface:LoginProtocolFactory
List of built in protocol mappers that can be used to apply to clients.- Specified by:
getBuiltinMappers
in interfaceLoginProtocolFactory
- Returns:
-
createProtocolEndpoint
- Specified by:
createProtocolEndpoint
in interfaceLoginProtocolFactory
-
setupClientDefaults
Description copied from interface:LoginProtocolFactory
Setup default values for new clients. This expects that the representation has already set up the client- Specified by:
setupClientDefaults
in interfaceLoginProtocolFactory
-
create
- Specified by:
create
in interfaceProviderFactory<LoginProtocol>
-
getId
- Specified by:
getId
in interfaceProviderFactory<LoginProtocol>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactory
Check if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Parameters:
config
- the provider configuration- Returns:
true
if the provider is supported. Otherwise,false
.
-
order
public int order()- Specified by:
order
in interfaceProviderFactory<LoginProtocol>
-