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 String
CLIENT_ROLES_DN
static String
COMMON_ROLES_DN
static String
GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE
static String
LOAD_ROLES_BY_MEMBER_ATTRIBUTE
static String
LOAD_ROLES_BY_MEMBER_ATTRIBUTE_RECURSIVELY
static String
REALM_ROLES_DN
static String
ROLE_NAME_LDAP_ATTRIBUTE
static String
ROLE_OBJECT_CLASSES
static String
ROLES_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 String
getClientRolesDn()
String
getCommonRolesDn()
String
getCustomLdapFilter()
String
getLDAPGroupNameLdapAttribute()
LdapMapConfig
getLdapMapConfig()
String
getRealmRolesDn()
Set<String>
getRoleAttributes()
String
getRoleNameLdapAttribute()
String
getRolesDn(String clientId)
String
getUserRolesRetrieveStrategy()
-
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:
getLDAPGroupNameLdapAttribute
in classLdapMapCommonGroupMapperConfig
-
getCustomLdapFilter
public String getCustomLdapFilter()
-
getUserRolesRetrieveStrategy
public String getUserRolesRetrieveStrategy()
-
getLdapMapConfig
public LdapMapConfig getLdapMapConfig()
-
-