public enum LdapRoleMappingMode extends Enum<LdapRoleMappingMode>
| Enum Constant and Description | 
|---|
| ATTRIBUTERole name in user object attribute. | 
| DIRECTUser object attribute contains DNs of role objects. | 
| REVERSERole object attribute contains DN of user objects. | 
| Modifier and Type | Method and Description | 
|---|---|
| static LdapRoleMappingMode | getRoleMappingMode(String label) | 
| String | toString() | 
| static LdapRoleMappingMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static LdapRoleMappingMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final LdapRoleMappingMode ATTRIBUTE
public static final LdapRoleMappingMode DIRECT
public static final LdapRoleMappingMode REVERSE
public static LdapRoleMappingMode[] values()
for (LdapRoleMappingMode c : LdapRoleMappingMode.values()) System.out.println(c);
public static LdapRoleMappingMode 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 String toString()
toString in class Enum<LdapRoleMappingMode>public static LdapRoleMappingMode getRoleMappingMode(String label)
Copyright © 2021 Hazelcast, Inc.. All rights reserved.