public class HardcodedAttributeMapper extends AbstractSAMLProtocolMapper implements SAMLAttributeStatementMapper
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_VALUE |
static String |
PROVIDER_ID |
Constructor and Description |
---|
HardcodedAttributeMapper() |
Modifier and Type | Method and Description |
---|---|
static ProtocolMapperModel |
create(String name,
String samlAttributeName,
String nameFormat,
String friendlyName,
String value,
boolean consentRequired,
String consentText) |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
void |
transformAttributeStatement(AttributeStatementType attributeStatement,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession) |
close, create, getProtocol, init, postInit
public static final String PROVIDER_ID
public static final String ATTRIBUTE_VALUE
public List<ProviderConfigProperty> getConfigProperties()
getConfigProperties
in interface ConfiguredProvider
public String getId()
getId
in interface ProviderFactory<ProtocolMapper>
public String getDisplayType()
getDisplayType
in interface ProtocolMapper
public String getDisplayCategory()
getDisplayCategory
in interface ProtocolMapper
public String getHelpText()
getHelpText
in interface ConfiguredProvider
public void transformAttributeStatement(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionModel clientSession)
transformAttributeStatement
in interface SAMLAttributeStatementMapper
Copyright © 2016 JBoss by Red Hat. All rights reserved.