Class DockerAuthV2ProtocolMapper
- java.lang.Object
-
- org.keycloak.protocol.docker.mapper.DockerAuthV2ProtocolMapper
-
- All Implemented Interfaces:
ProtocolMapper,ConfiguredProvider,Provider,ProviderFactory<ProtocolMapper>
- Direct Known Subclasses:
AllowAllDockerProtocolMapper
public abstract class DockerAuthV2ProtocolMapper extends Object implements ProtocolMapper
-
-
Field Summary
Fields Modifier and Type Field Description static StringDOCKER_AUTH_V2_CATEGORY
-
Constructor Summary
Constructors Constructor Description DockerAuthV2ProtocolMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.ProtocolMappercreate(KeycloakSession session)List<ProviderConfigProperty>getConfigProperties()StringgetDisplayCategory()StringgetProtocol()voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized-
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, getHelpText
-
Methods inherited from interface org.keycloak.protocol.ProtocolMapper
getDisplayType, getPriority, validateConfig
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, order
-
-
-
-
Field Detail
-
DOCKER_AUTH_V2_CATEGORY
public static final String DOCKER_AUTH_V2_CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfaceProtocolMapper
-
getDisplayCategory
public String getDisplayCategory()
- Specified by:
getDisplayCategoryin interfaceProtocolMapper
-
getConfigProperties
public List<ProviderConfigProperty> getConfigProperties()
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider
-
close
public void close()
Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProvider- Specified by:
closein interfaceProviderFactory<ProtocolMapper>
-
create
public final ProtocolMapper create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<ProtocolMapper>
-
init
public void init(Config.Scope config)
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<ProtocolMapper>
-
postInit
public void postInit(KeycloakSessionFactory factory)
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<ProtocolMapper>
-
-