org.opends.server.authorization.dseecompat
Enum EnumAuthMethod

java.lang.Object
  extended by java.lang.Enum<EnumAuthMethod>
      extended by org.opends.server.authorization.dseecompat.EnumAuthMethod
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumAuthMethod>

public enum EnumAuthMethod
extends java.lang.Enum<EnumAuthMethod>

This class provides an enumeration of the allowed authmethod types.


Enum Constant Summary
AUTHMETHOD_NONE
          The enumeration type when the bind rule has specified authentication of none.
AUTHMETHOD_SASL
          The enumeration type when the bind rule has specified authentication of a sasl mechanism.
AUTHMETHOD_SIMPLE
          The enumeration type when the bind rule has specified authentication of simple.
AUTHMETHOD_SSL
          The enumeration type when the bind rule has specified authentication of ssl client auth.
 
Method Summary
static EnumAuthMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumAuthMethod[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTHMETHOD_NONE

public static final EnumAuthMethod AUTHMETHOD_NONE
The enumeration type when the bind rule has specified authentication of none.


AUTHMETHOD_SIMPLE

public static final EnumAuthMethod AUTHMETHOD_SIMPLE
The enumeration type when the bind rule has specified authentication of simple.


AUTHMETHOD_SSL

public static final EnumAuthMethod AUTHMETHOD_SSL
The enumeration type when the bind rule has specified authentication of ssl client auth.


AUTHMETHOD_SASL

public static final EnumAuthMethod AUTHMETHOD_SASL
The enumeration type when the bind rule has specified authentication of a sasl mechanism.

Method Detail

values

public static EnumAuthMethod[] 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 (EnumAuthMethod c : EnumAuthMethod.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EnumAuthMethod valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null