Class AbstractSAMLProtocolMapper
- java.lang.Object
-
- org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapper
-
- All Implemented Interfaces:
ProtocolMapper
,ConfiguredProvider
,Provider
,ProviderFactory<ProtocolMapper>
- Direct Known Subclasses:
GroupMembershipMapper
,HardcodedAttributeMapper
,HardcodedRole
,RoleListMapper
,SAMLAudienceProtocolMapper
,SAMLAudienceResolveProtocolMapper
,ScriptBasedMapper
,UserAttributeNameIdMapper
,UserAttributeStatementMapper
,UserPropertyAttributeStatementMapper
,UserSessionNoteStatementMapper
public abstract class AbstractSAMLProtocolMapper extends Object implements ProtocolMapper
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description AbstractSAMLProtocolMapper()
-
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)
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, getConfigProperties, getHelpText
-
Methods inherited from interface org.keycloak.protocol.ProtocolMapper
getDisplayCategory, getDisplayType, getPriority, validateConfig
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, order
-
-
-
-
Method Detail
-
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interfaceProtocolMapper
-
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>
-
-