public enum MembershipType extends Enum<MembershipType>
Enum Constant and Description |
---|
DN
Used if LDAP role has it's members declared in form of their full DN.
|
UID
Used if LDAP role has it's members declared in form of pure user uids.
|
Modifier and Type | Method and Description |
---|---|
abstract List<UserModel> |
getGroupMembers(RealmModel realm,
CommonLDAPGroupMapper groupMapper,
LDAPObject ldapGroup,
int firstResult,
int maxResults) |
abstract Set<LDAPDn> |
getLDAPSubgroups(CommonLDAPGroupMapper groupMapper,
LDAPObject ldapGroup) |
static MembershipType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembershipType DN
public static final MembershipType UID
public static MembershipType[] values()
for (MembershipType c : MembershipType.values()) System.out.println(c);
public static MembershipType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Set<LDAPDn> getLDAPSubgroups(CommonLDAPGroupMapper groupMapper, LDAPObject ldapGroup)
public abstract List<UserModel> getGroupMembers(RealmModel realm, CommonLDAPGroupMapper groupMapper, LDAPObject ldapGroup, int firstResult, int maxResults)
Copyright © 2021 JBoss by Red Hat. All rights reserved.