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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDefaults(ClientModel client) create(KeycloakSession session) protected voidcreateDefaultClientScopesImpl(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()booleanintorder()voidsetupClientDefaults(ClientRepresentation rep, ClientModel newClient) Setup default values for new clients.Methods inherited from class org.keycloak.protocol.AbstractLoginProtocolFactory
addDefaultClientScopes, addDefaultClientScopes, close, createDefaultClientScopes, init, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata
-
Constructor Details
-
DockerAuthV2ProtocolFactory
public DockerAuthV2ProtocolFactory()
-
-
Method Details
-
createDefaultClientScopesImpl
Description copied from class:AbstractLoginProtocolFactoryImpl should create default client scopes. This is called usually when new realm is created- Specified by:
createDefaultClientScopesImplin classAbstractLoginProtocolFactory
-
addDefaults
- Specified by:
addDefaultsin classAbstractLoginProtocolFactory
-
getBuiltinMappers
Description copied from interface:LoginProtocolFactoryList of built in protocol mappers that can be used to apply to clients.- Specified by:
getBuiltinMappersin interfaceLoginProtocolFactory- Returns:
-
createProtocolEndpoint
- Specified by:
createProtocolEndpointin interfaceLoginProtocolFactory
-
setupClientDefaults
Description copied from interface:LoginProtocolFactorySetup default values for new clients. This expects that the representation has already set up the client- Specified by:
setupClientDefaultsin interfaceLoginProtocolFactory
-
create
- Specified by:
createin interfaceProviderFactory<LoginProtocol>
-
getId
- Specified by:
getIdin interfaceProviderFactory<LoginProtocol>
-
isSupported
public boolean isSupported()- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Returns:
trueif the provider is supported and should be available,falseotherwise
-
order
public int order()- Specified by:
orderin interfaceProviderFactory<LoginProtocol>
-