Class LdapMapRoleMapperConfig
- java.lang.Object
-
- org.keycloak.models.map.storage.ldap.config.LdapMapCommonGroupMapperConfig
-
- org.keycloak.models.map.storage.ldap.role.config.LdapMapRoleMapperConfig
-
public class LdapMapRoleMapperConfig extends LdapMapCommonGroupMapperConfig
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLIENT_ROLES_DNstatic StringCOMMON_ROLES_DNstatic StringGET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTEstatic StringLOAD_ROLES_BY_MEMBER_ATTRIBUTEstatic StringLOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELYstatic StringREALM_ROLES_DNstatic StringROLE_NAME_LDAP_ATTRIBUTEstatic StringROLE_OBJECT_CLASSESstatic StringROLES_LDAP_FILTER-
Fields inherited from class org.keycloak.models.map.storage.ldap.config.LdapMapCommonGroupMapperConfig
mapperModel, MEMBEROF_LDAP_ATTRIBUTE, MEMBERSHIP_ATTRIBUTE_TYPE, MEMBERSHIP_LDAP_ATTRIBUTE, MEMBERSHIP_USER_LDAP_ATTRIBUTE, MODE, USER_ROLES_RETRIEVE_STRATEGY
-
-
Constructor Summary
Constructors Constructor Description LdapMapRoleMapperConfig(Config.Scope config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientRolesDn()StringgetCommonRolesDn()StringgetCustomLdapFilter()StringgetLDAPGroupNameLdapAttribute()LdapMapConfiggetLdapMapConfig()StringgetRealmRolesDn()Set<String>getRoleAttributes()StringgetRoleNameLdapAttribute()StringgetRolesDn(String clientId)StringgetUserRolesRetrieveStrategy()-
Methods inherited from class org.keycloak.models.map.storage.ldap.config.LdapMapCommonGroupMapperConfig
getConfigValues, getMemberOfLdapAttribute, getMembershipLdapAttribute, getMembershipUserLdapAttribute
-
-
-
-
Field Detail
-
REALM_ROLES_DN
public static final String REALM_ROLES_DN
- See Also:
- Constant Field Values
-
CLIENT_ROLES_DN
public static final String CLIENT_ROLES_DN
- See Also:
- Constant Field Values
-
COMMON_ROLES_DN
public static final String COMMON_ROLES_DN
- See Also:
- Constant Field Values
-
ROLE_NAME_LDAP_ATTRIBUTE
public static final String ROLE_NAME_LDAP_ATTRIBUTE
- See Also:
- Constant Field Values
-
ROLE_OBJECT_CLASSES
public static final String ROLE_OBJECT_CLASSES
- See Also:
- Constant Field Values
-
ROLES_LDAP_FILTER
public static final String ROLES_LDAP_FILTER
- See Also:
- Constant Field Values
-
LOAD_ROLES_BY_MEMBER_ATTRIBUTE
public static final String LOAD_ROLES_BY_MEMBER_ATTRIBUTE
- See Also:
- Constant Field Values
-
GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE
public static final String GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE
- See Also:
- Constant Field Values
-
LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY
public static final String LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LdapMapRoleMapperConfig
public LdapMapRoleMapperConfig(Config.Scope config)
-
-
Method Detail
-
getRealmRolesDn
public String getRealmRolesDn()
-
getCommonRolesDn
public String getCommonRolesDn()
-
getClientRolesDn
public String getClientRolesDn()
-
getRoleNameLdapAttribute
public String getRoleNameLdapAttribute()
-
getLDAPGroupNameLdapAttribute
public String getLDAPGroupNameLdapAttribute()
- Specified by:
getLDAPGroupNameLdapAttributein classLdapMapCommonGroupMapperConfig
-
getCustomLdapFilter
public String getCustomLdapFilter()
-
getUserRolesRetrieveStrategy
public String getUserRolesRetrieveStrategy()
-
getLdapMapConfig
public LdapMapConfig getLdapMapConfig()
-
-