Class AttributeStatementHelper
- java.lang.Object
- 
- org.keycloak.protocol.saml.mappers.AttributeStatementHelper
 
- 
 public class AttributeStatementHelper extends Object - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringATTRIBUTE_STATEMENT_CATEGORYstatic StringBASICstatic StringFRIENDLY_NAMEstatic StringFRIENDLY_NAME_HELP_TEXTstatic StringFRIENDLY_NAME_LABELstatic StringSAML_ATTRIBUTE_NAMEstatic StringSAML_ATTRIBUTE_NAMEFORMATstatic StringUNSPECIFIEDstatic StringURI_REFERENCE
 - 
Constructor SummaryConstructors Constructor Description AttributeStatementHelper()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddAttribute(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, String attributeValue)static voidaddAttributes(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, Collection<String> attributeValues)static ProtocolMapperModelcreateAttributeMapper(String name, String userAttribute, String samlAttributeName, String nameFormat, String friendlyName, String mapperId)static AttributeTypecreateAttributeType(ProtocolMapperModel mappingModel)static voidsetConfigProperties(List<ProviderConfigProperty> configProperties)
 
- 
- 
- 
Field Detail- 
SAML_ATTRIBUTE_NAMEpublic static final String SAML_ATTRIBUTE_NAME - See Also:
- Constant Field Values
 
 - 
ATTRIBUTE_STATEMENT_CATEGORYpublic static final String ATTRIBUTE_STATEMENT_CATEGORY - See Also:
- Constant Field Values
 
 - 
FRIENDLY_NAMEpublic static final String FRIENDLY_NAME - See Also:
- Constant Field Values
 
 - 
FRIENDLY_NAME_LABELpublic static final String FRIENDLY_NAME_LABEL - See Also:
- Constant Field Values
 
 - 
FRIENDLY_NAME_HELP_TEXTpublic static final String FRIENDLY_NAME_HELP_TEXT - See Also:
- Constant Field Values
 
 - 
SAML_ATTRIBUTE_NAMEFORMATpublic static final String SAML_ATTRIBUTE_NAMEFORMAT - See Also:
- Constant Field Values
 
 - 
BASICpublic static final String BASIC - See Also:
- Constant Field Values
 
 - 
URI_REFERENCEpublic static final String URI_REFERENCE - See Also:
- Constant Field Values
 
 - 
UNSPECIFIEDpublic static final String UNSPECIFIED - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
addAttributepublic static void addAttribute(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, String attributeValue) 
 - 
addAttributespublic static void addAttributes(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, Collection<String> attributeValues) 
 - 
createAttributeTypepublic static AttributeType createAttributeType(ProtocolMapperModel mappingModel) 
 - 
setConfigPropertiespublic static void setConfigProperties(List<ProviderConfigProperty> configProperties) 
 
- 
 
-