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

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

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

An enumeration that represents the level of authentication.

Version:
$Rev: 379008 $, $Date: 2006-02-20 04:35:07 +0100 (Mon, 20 Feb 2006) $
Author:
The 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()

equals

public boolean equals(java.lang.Object o)

compareTo

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


Copyright © 2003-2006 . All Rights Reserved.