org.apache.directory.server.kerberos.shared.messages.value.types
Enum AuthorizationType

java.lang.Object
  extended by java.lang.Enum<AuthorizationType>
      extended by org.apache.directory.server.kerberos.shared.messages.value.types.AuthorizationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AuthorizationType>

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

Version:
$Rev: 540371 $, $Date: 2007-05-22 02:00:43 +0200 (Tue, 22 May 2007) $
Author:
Apache Directory Project

Enum Constant Summary
AD_ETYPE_NEGOTIATION
          Constant for the "sesame" authorization type.
AD_IF_RELEVANT
          Constant for the "if relevant" authorization type.
AD_IN_TICKET_EXTENSIONS
          Constant for the "in ticket extensions" authorization type.
AD_INTENDED_FOR_APPLICATION_CLASS
          Constant for the "intended for application class" authorization type.
AD_INTENDED_FOR_SERVER
          Constant for the "intended for server" authorization type.
AD_KDC_ISSUED
          Constant for the "kdc issued" authorization type.
AD_MANDATORY_FOR_KDC
          Constant for the "mandatory-for-kdc" authorization type.
AD_MANDATORY_TICKET_EXTENSIONS
          Constant for the "mandatory ticket extensions" authorization type.
AD_OR
          Constant for the "or" authorization type.
AD_OSF_DCE_PKI_CERTID
          Constant for the "OSF-DCE pki certid" authorization type.
AD_WIN2K_PAC
          Constant for the "sesame" authorization type.
NULL
          Constant for the "null" authorization type.
OSF_DCE
          Constant for the "OSF DCE" authorization type.
SESAME
          Constant for the "sesame" authorization type.
 
Method Summary
 int getOrdinal()
          Returns the number associated with this authorization type.
static AuthorizationType getTypeByOrdinal(int type)
          Returns the authorization type when specified by its ordinal.
 java.lang.String toString()
           
static AuthorizationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AuthorizationType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NULL

public static final AuthorizationType NULL
Constant for the "null" authorization type.


AD_IF_RELEVANT

public static final AuthorizationType AD_IF_RELEVANT
Constant for the "if relevant" authorization type. RFC 4120


AD_INTENDED_FOR_SERVER

public static final AuthorizationType AD_INTENDED_FOR_SERVER
Constant for the "intended for server" authorization type. RFC 4120


AD_INTENDED_FOR_APPLICATION_CLASS

public static final AuthorizationType AD_INTENDED_FOR_APPLICATION_CLASS
Constant for the "intended for application class" authorization type. RFC 4120


AD_KDC_ISSUED

public static final AuthorizationType AD_KDC_ISSUED
Constant for the "kdc issued" authorization type. RFC 4120


AD_OR

public static final AuthorizationType AD_OR
Constant for the "or" authorization type. RFC 4120


AD_MANDATORY_TICKET_EXTENSIONS

public static final AuthorizationType AD_MANDATORY_TICKET_EXTENSIONS
Constant for the "mandatory ticket extensions" authorization type. RFC 4120


AD_IN_TICKET_EXTENSIONS

public static final AuthorizationType AD_IN_TICKET_EXTENSIONS
Constant for the "in ticket extensions" authorization type. RFC 4120


AD_MANDATORY_FOR_KDC

public static final AuthorizationType AD_MANDATORY_FOR_KDC
Constant for the "mandatory-for-kdc" authorization type. RFC 4120


OSF_DCE

public static final AuthorizationType OSF_DCE
Constant for the "OSF DCE" authorization type. RFC 1510


SESAME

public static final AuthorizationType SESAME
Constant for the "sesame" authorization type. RFC 1510


AD_OSF_DCE_PKI_CERTID

public static final AuthorizationType AD_OSF_DCE_PKI_CERTID
Constant for the "OSF-DCE pki certid" authorization type. RFC 1510


AD_WIN2K_PAC

public static final AuthorizationType AD_WIN2K_PAC
Constant for the "sesame" authorization type. RFC 1510


AD_ETYPE_NEGOTIATION

public static final AuthorizationType AD_ETYPE_NEGOTIATION
Constant for the "sesame" authorization type. RFC 1510

Method Detail

values

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

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

valueOf

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

getTypeByOrdinal

public static AuthorizationType getTypeByOrdinal(int type)
Returns the authorization type when specified by its ordinal.

Parameters:
type -
Returns:
The authorization type.

getOrdinal

public int getOrdinal()
Returns the number associated with this authorization type.

Returns:
The authorization type ordinal.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<AuthorizationType>
See Also:
Object.toString()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.