Class AttributeStatementHelper
java.lang.Object
org.keycloak.protocol.saml.mappers.AttributeStatementHelper
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAttribute(org.keycloak.dom.saml.v2.assertion.AttributeStatementType attributeStatement, org.keycloak.models.ProtocolMapperModel mappingModel, String attributeValue) static voidaddAttributes(org.keycloak.dom.saml.v2.assertion.AttributeStatementType attributeStatement, org.keycloak.models.ProtocolMapperModel mappingModel, Collection<String> attributeValues) static org.keycloak.models.ProtocolMapperModelcreateAttributeMapper(String name, String userAttribute, String samlAttributeName, String nameFormat, String friendlyName, String mapperId) static org.keycloak.dom.saml.v2.assertion.AttributeTypecreateAttributeType(org.keycloak.models.ProtocolMapperModel mappingModel) static voidsetConfigProperties(List<org.keycloak.provider.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(org.keycloak.dom.saml.v2.assertion.AttributeStatementType attributeStatement, org.keycloak.models.ProtocolMapperModel mappingModel, String attributeValue) -
addAttributes
public static void addAttributes(org.keycloak.dom.saml.v2.assertion.AttributeStatementType attributeStatement, org.keycloak.models.ProtocolMapperModel mappingModel, Collection<String> attributeValues) -
createAttributeType
public static org.keycloak.dom.saml.v2.assertion.AttributeType createAttributeType(org.keycloak.models.ProtocolMapperModel mappingModel) -
setConfigProperties
public static void setConfigProperties(List<org.keycloak.provider.ProviderConfigProperty> configProperties) -
createAttributeMapper
-