Class HardcodedRole
- java.lang.Object
- 
- org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapper
- 
- org.keycloak.protocol.saml.mappers.HardcodedRole
 
 
- 
- All Implemented Interfaces:
- ProtocolMapper,- ConfiguredProvider,- Provider,- ProviderFactory<ProtocolMapper>
 
 public class HardcodedRole extends AbstractSAMLProtocolMapper Mappings UserModel property (the property name of a getter method) to an AttributeStatement.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringATTRIBUTE_VALUEstatic StringPROVIDER_IDstatic StringROLE_ATTRIBUTE
 - 
Constructor SummaryConstructors Constructor Description HardcodedRole()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtocolMapperModelcreate(String name, String role)List<ProviderConfigProperty>getConfigProperties()StringgetDisplayCategory()StringgetDisplayType()StringgetHelpText()StringgetId()- 
Methods inherited from class org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapperclose, create, getProtocol, init, postInit
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfig
 - 
Methods inherited from interface org.keycloak.protocol.ProtocolMappergetPriority, validateConfig
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Field Detail- 
PROVIDER_IDpublic static final String PROVIDER_ID - See Also:
- Constant Field Values
 
 - 
ATTRIBUTE_VALUEpublic static final String ATTRIBUTE_VALUE - See Also:
- Constant Field Values
 
 - 
ROLE_ATTRIBUTEpublic static final String ROLE_ATTRIBUTE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getConfigPropertiespublic List<ProviderConfigProperty> getConfigProperties() 
 - 
getIdpublic String getId() 
 - 
getDisplayTypepublic String getDisplayType() 
 - 
getDisplayCategorypublic String getDisplayCategory() 
 - 
getHelpTextpublic String getHelpText() 
 - 
createpublic static ProtocolMapperModel create(String name, String role) 
 
- 
 
-