Class DeployedScriptSAMLProtocolMapper
- java.lang.Object
-
- org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapper
-
- org.keycloak.protocol.saml.mappers.ScriptBasedMapper
-
- org.keycloak.protocol.saml.mappers.DeployedScriptSAMLProtocolMapper
-
- All Implemented Interfaces:
ProtocolMapper
,SAMLAttributeStatementMapper
,ConfiguredProvider
,EnvironmentDependentProviderFactory
,Provider
,ProviderFactory<ProtocolMapper>
public class DeployedScriptSAMLProtocolMapper extends ScriptBasedMapper
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description protected ScriptProviderMetadata
metadata
-
Fields inherited from class org.keycloak.protocol.saml.mappers.ScriptBasedMapper
PROVIDER_ID
-
-
Constructor Summary
Constructors Constructor Description DeployedScriptSAMLProtocolMapper()
DeployedScriptSAMLProtocolMapper(ScriptProviderMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ProviderConfigProperty>
getConfigProperties()
String
getDisplayType()
String
getHelpText()
String
getId()
ScriptProviderMetadata
getMetadata()
protected String
getScriptCode(ProtocolMapperModel mapperModel)
void
setMetadata(ScriptProviderMetadata metadata)
-
Methods inherited from class org.keycloak.protocol.saml.mappers.ScriptBasedMapper
create, getDisplayCategory, isSupported, transformAttributeStatement, validateConfig
-
Methods inherited from class org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapper
close, create, getProtocol, init, postInit
-
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
-
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupported
-
Methods inherited from interface org.keycloak.protocol.ProtocolMapper
getPriority
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
-
-
-
Field Detail
-
metadata
protected ScriptProviderMetadata metadata
-
-
Constructor Detail
-
DeployedScriptSAMLProtocolMapper
public DeployedScriptSAMLProtocolMapper(ScriptProviderMetadata metadata)
-
DeployedScriptSAMLProtocolMapper
public DeployedScriptSAMLProtocolMapper()
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceProviderFactory<ProtocolMapper>
- Overrides:
getId
in classScriptBasedMapper
-
getDisplayType
public String getDisplayType()
- Specified by:
getDisplayType
in interfaceProtocolMapper
- Overrides:
getDisplayType
in classScriptBasedMapper
-
getHelpText
public String getHelpText()
- Specified by:
getHelpText
in interfaceConfiguredProvider
- Overrides:
getHelpText
in classScriptBasedMapper
-
getScriptCode
protected String getScriptCode(ProtocolMapperModel mapperModel)
- Overrides:
getScriptCode
in classScriptBasedMapper
-
getConfigProperties
public List<ProviderConfigProperty> getConfigProperties()
- Specified by:
getConfigProperties
in interfaceConfiguredProvider
- Overrides:
getConfigProperties
in classScriptBasedMapper
-
setMetadata
public void setMetadata(ScriptProviderMetadata metadata)
-
getMetadata
public ScriptProviderMetadata getMetadata()
-
-