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 SummaryConstructors Constructor Description DockerAuthV2ProtocolFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDefaults(ClientModel client)LoginProtocolcreate(KeycloakSession session)protected voidcreateDefaultClientScopesImpl(RealmModel newRealm)Impl should create default client scopes.ObjectcreateProtocolEndpoint(KeycloakSession session, EventBuilder event)Map<String,ProtocolMapperModel>getBuiltinMappers()List of built in protocol mappers that can be used to apply to clients.StringgetId()booleanisSupported()intorder()voidsetupClientDefaults(ClientRepresentation rep, ClientModel newClient)Setup default values for new clients.- 
Methods inherited from class org.keycloak.protocol.AbstractLoginProtocolFactoryaddDefaultClientScopes, addDefaultClientScopes, close, createDefaultClientScopes, init, postInit
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactoryisSupported
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata
 
- 
 
- 
- 
- 
Method Detail- 
createDefaultClientScopesImplprotected void createDefaultClientScopesImpl(RealmModel newRealm) Description copied from class:AbstractLoginProtocolFactoryImpl should create default client scopes. This is called usually when new realm is created- Specified by:
- createDefaultClientScopesImplin class- AbstractLoginProtocolFactory
 
 - 
addDefaultsprotected void addDefaults(ClientModel client) - Specified by:
- addDefaultsin class- AbstractLoginProtocolFactory
 
 - 
getBuiltinMapperspublic Map<String,ProtocolMapperModel> getBuiltinMappers() Description copied from interface:LoginProtocolFactoryList of built in protocol mappers that can be used to apply to clients.- Specified by:
- getBuiltinMappersin interface- LoginProtocolFactory
- Returns:
 
 - 
createProtocolEndpointpublic Object createProtocolEndpoint(KeycloakSession session, EventBuilder event) - Specified by:
- createProtocolEndpointin interface- LoginProtocolFactory
 
 - 
setupClientDefaultspublic void setupClientDefaults(ClientRepresentation rep, ClientModel newClient) Description copied from interface:LoginProtocolFactorySetup default values for new clients. This expects that the representation has already set up the client- Specified by:
- setupClientDefaultsin interface- LoginProtocolFactory
 
 - 
createpublic LoginProtocol create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<LoginProtocol>
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<LoginProtocol>
 
 - 
isSupportedpublic boolean isSupported() - Specified by:
- isSupportedin interface- EnvironmentDependentProviderFactory
- Returns:
- trueif the provider is supported and should be available,- falseotherwise
 
 - 
orderpublic int order() - Specified by:
- orderin interface- ProviderFactory<LoginProtocol>
 
 
- 
 
-