|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AuthenticationLevel>
org.apache.directory.shared.ldap.constants.AuthenticationLevel
public enum AuthenticationLevel
An enumeration that represents the level of authentication.
Enum Constant Summary | |
---|---|
INVALID
Invalid authentication type |
|
NONE
No authentication (anonymous access) |
|
SIMPLE
Simple authentication (bound with plain-text credentials) |
|
STRONG
Strong authentication (bound with encrypted credentials) |
|
UNAUTHENT
Unauthentication, if the BIND contains a DN but no credentials |
Method Summary | |
---|---|
int |
getLevel()
Returns the integer value of this level (greater value, stronger level). |
static AuthenticationLevel |
getLevel(int val)
|
java.lang.String |
getName()
Returns the name of this level. |
java.lang.String |
toString()
|
static AuthenticationLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AuthenticationLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AuthenticationLevel INVALID
public static final AuthenticationLevel NONE
public static final AuthenticationLevel SIMPLE
public static final AuthenticationLevel STRONG
public static final AuthenticationLevel UNAUTHENT
Method Detail |
---|
public static final AuthenticationLevel[] values()
for(AuthenticationLevel c : AuthenticationLevel.values()) System.out.println(c);
public static AuthenticationLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int getLevel()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<AuthenticationLevel>
public static AuthenticationLevel getLevel(int val)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |