Class CommonLDAPGroupMapperConfig
- java.lang.Object
-
- org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfig
-
- Direct Known Subclasses:
GroupMapperConfig,RoleMapperConfig
public abstract class CommonLDAPGroupMapperConfig extends Object
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description protected ComponentModelmapperModelstatic StringMEMBEROF_LDAP_ATTRIBUTEstatic StringMEMBERSHIP_ATTRIBUTE_TYPEstatic StringMEMBERSHIP_LDAP_ATTRIBUTEstatic StringMEMBERSHIP_USER_LDAP_ATTRIBUTEstatic StringMODEstatic StringUSER_ROLES_RETRIEVE_STRATEGY
-
Constructor Summary
Constructors Constructor Description CommonLDAPGroupMapperConfig(ComponentModel mapperModel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Set<String>getConfigValues(String str)abstract StringgetLDAPGroupNameLdapAttribute()abstract StringgetLDAPGroupsDn()StringgetMemberOfLdapAttribute()StringgetMembershipLdapAttribute()MembershipTypegetMembershipTypeLdapAttribute()StringgetMembershipUserLdapAttribute(LDAPConfig ldapConfig)LDAPGroupMapperModegetMode()
-
-
-
Field Detail
-
MEMBERSHIP_LDAP_ATTRIBUTE
public static final String MEMBERSHIP_LDAP_ATTRIBUTE
- See Also:
- Constant Field Values
-
MEMBERSHIP_ATTRIBUTE_TYPE
public static final String MEMBERSHIP_ATTRIBUTE_TYPE
- See Also:
- Constant Field Values
-
MEMBERSHIP_USER_LDAP_ATTRIBUTE
public static final String MEMBERSHIP_USER_LDAP_ATTRIBUTE
- See Also:
- Constant Field Values
-
MODE
public static final String MODE
- See Also:
- Constant Field Values
-
USER_ROLES_RETRIEVE_STRATEGY
public static final String USER_ROLES_RETRIEVE_STRATEGY
- See Also:
- Constant Field Values
-
MEMBEROF_LDAP_ATTRIBUTE
public static final String MEMBEROF_LDAP_ATTRIBUTE
- See Also:
- Constant Field Values
-
mapperModel
protected final ComponentModel mapperModel
-
-
Constructor Detail
-
CommonLDAPGroupMapperConfig
public CommonLDAPGroupMapperConfig(ComponentModel mapperModel)
-
-
Method Detail
-
getMembershipLdapAttribute
public String getMembershipLdapAttribute()
-
getMembershipTypeLdapAttribute
public MembershipType getMembershipTypeLdapAttribute()
-
getMembershipUserLdapAttribute
public String getMembershipUserLdapAttribute(LDAPConfig ldapConfig)
-
getMemberOfLdapAttribute
public String getMemberOfLdapAttribute()
-
getMode
public LDAPGroupMapperMode getMode()
-
getLDAPGroupsDn
public abstract String getLDAPGroupsDn()
-
getLDAPGroupNameLdapAttribute
public abstract String getLDAPGroupNameLdapAttribute()
-
-