org.opends.server.authorization.dseecompat
Enum EnumBindRuleKeyword

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

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

This class provides an enumeration of the allowed bind rule keyword types.


Enum Constant Summary
AUTHMETHOD
          The enumeration type when the bind rule has specified keyword of authmethod.
DAYOFWEEK
          The enumeration type when the bind rule has specified keyword of dayofweek.
DNS
          The enumeration type when the bind rule has specified keyword of dns.
GROUPDN
          The enumeration type when the bind rule has specified keyword of groupdn.
IP
          The enumeration type when the bind rule has specified keyword of ip.
ROLEDN
          The enumeration type when the bind rule has specified keyword of roledn.
TIMEOFDAY
          The enumeration type when the bind rule has specified keyword of timeofday.
USERATTR
          The enumeration type when the bind rule has specified keyword of userattr.
USERDN
          The enumeration type when the bind rule has specified keyword of userdn.
 
Method Summary
static EnumBindRuleKeyword createBindRuleKeyword(java.lang.String keywordStr)
          Create a new enumeration type for the specified keyword name.
 boolean isBindRuleKeyword(java.lang.String keywordStr)
          Checks to see if the keyword string is equal to the enumeration.
static EnumBindRuleKeyword valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumBindRuleKeyword[] 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

USERDN

public static final EnumBindRuleKeyword USERDN
The enumeration type when the bind rule has specified keyword of userdn.


GROUPDN

public static final EnumBindRuleKeyword GROUPDN
The enumeration type when the bind rule has specified keyword of groupdn.


ROLEDN

public static final EnumBindRuleKeyword ROLEDN
The enumeration type when the bind rule has specified keyword of roledn.


IP

public static final EnumBindRuleKeyword IP
The enumeration type when the bind rule has specified keyword of ip.


DNS

public static final EnumBindRuleKeyword DNS
The enumeration type when the bind rule has specified keyword of dns.


DAYOFWEEK

public static final EnumBindRuleKeyword DAYOFWEEK
The enumeration type when the bind rule has specified keyword of dayofweek.


TIMEOFDAY

public static final EnumBindRuleKeyword TIMEOFDAY
The enumeration type when the bind rule has specified keyword of timeofday.


USERATTR

public static final EnumBindRuleKeyword USERATTR
The enumeration type when the bind rule has specified keyword of userattr.


AUTHMETHOD

public static final EnumBindRuleKeyword AUTHMETHOD
The enumeration type when the bind rule has specified keyword of authmethod.

Method Detail

values

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

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

valueOf

public static EnumBindRuleKeyword 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

isBindRuleKeyword

public boolean isBindRuleKeyword(java.lang.String keywordStr)
Checks to see if the keyword string is equal to the enumeration.

Parameters:
keywordStr - The keyword name to check equality for.
Returns:
True if the keyword is equal to the specified name.

createBindRuleKeyword

public static EnumBindRuleKeyword createBindRuleKeyword(java.lang.String keywordStr)
Create a new enumeration type for the specified keyword name.

Parameters:
keywordStr - The name of the enumeration to create.
Returns:
A new enumeration type for the name or null if the name is not valid.