Enum LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy
- java.lang.Object
-
- java.lang.Enum<LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy>
-
- org.forgerock.opendj.server.config.meta.LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy>
- Enclosing class:
- LdapPassThroughAuthenticationPolicyCfgDefn
public static enum LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy extends Enum<LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy>
Defines the set of permissible values for the "mapping-policy" property.Specifies the mapping algorithm for obtaining the bind DN from the user's entry.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAPPED_BIND
Bind to the remote LDAP directory service using a DN obtained from an attribute in the user's entry.MAPPED_SEARCH
Bind to the remote LDAP directory service using the DN of an entry obtained using a search against the remote LDAP directory service.UNMAPPED
Bind to the remote LDAP directory service using the DN of the user's entry in this directory server.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAPPED_BIND
public static final LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy MAPPED_BIND
Bind to the remote LDAP directory service using a DN obtained from an attribute in the user's entry. This policy will check each attribute named in the "mapped-attribute" property. If more than one attribute or value is present then the first one will be used.
-
MAPPED_SEARCH
public static final LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy MAPPED_SEARCH
Bind to the remote LDAP directory service using the DN of an entry obtained using a search against the remote LDAP directory service. The search filter will comprise of an equality matching filter whose attribute type is the "mapped-attribute" property, and whose assertion value is the attribute value obtained from the user's entry. If more than one attribute or value is present then the filter will be composed of multiple equality filters combined using a logical OR (union).
-
UNMAPPED
public static final LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy UNMAPPED
Bind to the remote LDAP directory service using the DN of the user's entry in this directory server.
-
-
Method Detail
-
values
public static LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy c : LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<LdapPassThroughAuthenticationPolicyCfgDefn.MappingPolicy>
-
-