Class RoleMapperConfig
- java.lang.Object
- 
- org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfig
- 
- org.keycloak.storage.ldap.mappers.membership.role.RoleMapperConfig
 
 
- 
 public class RoleMapperConfig extends CommonLDAPGroupMapperConfig - Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringCLIENT_IDstatic StringGET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTEstatic StringLOAD_ROLES_BY_MEMBER_ATTRIBUTEstatic StringLOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELYstatic StringROLE_NAME_LDAP_ATTRIBUTEstatic StringROLE_OBJECT_CLASSESstatic StringROLES_DNstatic StringROLES_LDAP_FILTERstatic StringUSE_REALM_ROLES_MAPPING- 
Fields inherited from class org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfigmapperModel, MEMBEROF_LDAP_ATTRIBUTE, MEMBERSHIP_ATTRIBUTE_TYPE, MEMBERSHIP_LDAP_ATTRIBUTE, MEMBERSHIP_USER_LDAP_ATTRIBUTE, MODE, USER_ROLES_RETRIEVE_STRATEGY
 
- 
 - 
Constructor SummaryConstructors Constructor Description RoleMapperConfig(ComponentModel mapperModel)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()StringgetCustomLdapFilter()StringgetLDAPGroupNameLdapAttribute()StringgetLDAPGroupsDn()StringgetRoleNameLdapAttribute()Collection<String>getRoleObjectClasses(LDAPStorageProvider ldapProvider)StringgetRolesDn()StringgetUserRolesRetrieveStrategy()booleanisRealmRolesMapping()- 
Methods inherited from class org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfiggetConfigValues, getMemberOfLdapAttribute, getMembershipLdapAttribute, getMembershipTypeLdapAttribute, getMembershipUserLdapAttribute, getMode
 
- 
 
- 
- 
- 
Field Detail- 
ROLES_DNpublic static final String ROLES_DN - See Also:
- Constant Field Values
 
 - 
ROLE_NAME_LDAP_ATTRIBUTEpublic static final String ROLE_NAME_LDAP_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
ROLE_OBJECT_CLASSESpublic static final String ROLE_OBJECT_CLASSES - See Also:
- Constant Field Values
 
 - 
USE_REALM_ROLES_MAPPINGpublic static final String USE_REALM_ROLES_MAPPING - See Also:
- Constant Field Values
 
 - 
CLIENT_IDpublic static final String CLIENT_ID - See Also:
- Constant Field Values
 
 - 
ROLES_LDAP_FILTERpublic static final String ROLES_LDAP_FILTER - See Also:
- Constant Field Values
 
 - 
LOAD_ROLES_BY_MEMBER_ATTRIBUTEpublic static final String LOAD_ROLES_BY_MEMBER_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTEpublic static final String GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELYpublic static final String LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
RoleMapperConfigpublic RoleMapperConfig(ComponentModel mapperModel) 
 
- 
 - 
Method Detail- 
getRolesDnpublic String getRolesDn() 
 - 
getLDAPGroupsDnpublic String getLDAPGroupsDn() - Specified by:
- getLDAPGroupsDnin class- CommonLDAPGroupMapperConfig
 
 - 
getRoleNameLdapAttributepublic String getRoleNameLdapAttribute() 
 - 
getLDAPGroupNameLdapAttributepublic String getLDAPGroupNameLdapAttribute() - Specified by:
- getLDAPGroupNameLdapAttributein class- CommonLDAPGroupMapperConfig
 
 - 
getRoleObjectClassespublic Collection<String> getRoleObjectClasses(LDAPStorageProvider ldapProvider) 
 - 
getCustomLdapFilterpublic String getCustomLdapFilter() 
 - 
isRealmRolesMappingpublic boolean isRealmRolesMapping() 
 - 
getClientIdpublic String getClientId() 
 - 
getUserRolesRetrieveStrategypublic String getUserRolesRetrieveStrategy() 
 
- 
 
-