org.apache.directory.shared.ldap.aci
Class AuthenticationLevel

java.lang.Object
  extended by org.apache.directory.shared.ldap.aci.AuthenticationLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class AuthenticationLevel
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

An enumeration that represents the level of authentication.

Version:
$Rev: 434411 $, $Date: 2006-08-24 18:05:06 +0200 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
static AuthenticationLevel NONE
          No authentication (anonymous access)
static AuthenticationLevel SIMPLE
          Simple authentication (bound with plain-text credentials)
static AuthenticationLevel STRONG
          Strong authentication (bound with encrypted cerdentials)
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 int getLevel()
          Returns the integet value of this level (greater value, stronger level).
 java.lang.String getName()
          Returns the name of this level.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final AuthenticationLevel NONE
No authentication (anonymous access)


SIMPLE

public static final AuthenticationLevel SIMPLE
Simple authentication (bound with plain-text credentials)


STRONG

public static final AuthenticationLevel STRONG
Strong authentication (bound with encrypted cerdentials)

Method Detail

getLevel

public int getLevel()
Returns the integet value of this level (greater value, stronger level).


getName

public java.lang.String getName()
Returns the name of this level.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2004-2010. All Rights Reserved.