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 String
DOCKER_AUTH_V2_CATEGORY
-
Constructor Summary
Constructors Constructor Description DockerAuthV2ProtocolMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
This is called when the server shuts down.ProtocolMapper
create(KeycloakSession session)
List<ProviderConfigProperty>
getConfigProperties()
String
getDisplayCategory()
String
getProtocol()
void
init(Config.Scope config)
Only called once when the factory is first created.void
postInit(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:
getProtocol
in interfaceProtocolMapper
-
getDisplayCategory
public String getDisplayCategory()
- Specified by:
getDisplayCategory
in interfaceProtocolMapper
-
getConfigProperties
public List<ProviderConfigProperty> getConfigProperties()
- Specified by:
getConfigProperties
in interfaceConfiguredProvider
-
close
public void close()
Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProvider
- Specified by:
close
in interfaceProviderFactory<ProtocolMapper>
-
create
public final ProtocolMapper create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<ProtocolMapper>
-
init
public void init(Config.Scope config)
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<ProtocolMapper>
-
postInit
public void postInit(KeycloakSessionFactory factory)
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<ProtocolMapper>
-
-