org.exoplatform.services.security.sso.spnego
Enum SpnegoHandler.State

java.lang.Object
  extended by java.lang.Enum<SpnegoHandler.State>
      extended by org.exoplatform.services.security.sso.spnego.SpnegoHandler.State
All Implemented Interfaces:
Serializable, Comparable<SpnegoHandler.State>
Enclosing class:
SpnegoHandler

public static enum SpnegoHandler.State
extends Enum<SpnegoHandler.State>

State of the SpnegoHandler.


Enum Constant Summary
ESTABLISHED
          Successful.
FAILED
          Failed.
INITIALIZED
          Context initialized.
NEGOTIATING
          Authentication in process.
UNAUTHORIZED
           
UNINITIALIZED
          Process not started yet.
 
Method Summary
static SpnegoHandler.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpnegoHandler.State[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNINITIALIZED

public static final SpnegoHandler.State UNINITIALIZED
Process not started yet.


INITIALIZED

public static final SpnegoHandler.State INITIALIZED
Context initialized.


NEGOTIATING

public static final SpnegoHandler.State NEGOTIATING
Authentication in process.


ESTABLISHED

public static final SpnegoHandler.State ESTABLISHED
Successful.


FAILED

public static final SpnegoHandler.State FAILED
Failed.


UNAUTHORIZED

public static final SpnegoHandler.State UNAUTHORIZED
See Also:
.
Method Detail

values

public static final SpnegoHandler.State[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SpnegoHandler.State c : SpnegoHandler.State.values())
        System.out.println(c);

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

valueOf

public static SpnegoHandler.State valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2009 eXo Platform SAS. All Rights Reserved.