Class AttributeStatementHelper
java.lang.Object
org.keycloak.protocol.saml.mappers.AttributeStatementHelper
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAttribute
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, String attributeValue) static void
addAttributes
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, Collection<String> attributeValues) static ProtocolMapperModel
createAttributeMapper
(String name, String userAttribute, String samlAttributeName, String nameFormat, String friendlyName, String mapperId) static AttributeType
createAttributeType
(ProtocolMapperModel mappingModel) static void
setConfigProperties
(List<ProviderConfigProperty> configProperties)
-
Field Details
-
SAML_ATTRIBUTE_NAME
- See Also:
-
ATTRIBUTE_STATEMENT_CATEGORY
- See Also:
-
FRIENDLY_NAME
- See Also:
-
FRIENDLY_NAME_LABEL
- See Also:
-
FRIENDLY_NAME_HELP_TEXT
- See Also:
-
SAML_ATTRIBUTE_NAMEFORMAT
- See Also:
-
BASIC
- See Also:
-
URI_REFERENCE
- See Also:
-
UNSPECIFIED
- See Also:
-
-
Constructor Details
-
AttributeStatementHelper
public AttributeStatementHelper()
-
-
Method Details
-
addAttribute
public static void addAttribute(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, String attributeValue) -
addAttributes
public static void addAttributes(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, Collection<String> attributeValues) -
createAttributeType
-
setConfigProperties
-
createAttributeMapper
-