org.apache.directory.server.kerberos.shared.messages.value
Class AuthorizationType

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

public final class AuthorizationType
extends java.lang.Object
implements java.lang.Comparable<AuthorizationType>

Version:
$Rev: 558641 $, $Date: 2007-07-23 03:47:15 -0400 (Mon, 23 Jul 2007) $
Author:
Apache Directory Project

Field Summary
static AuthorizationType AD_AND_OR
          Constant for the "and-or" authorization type.
static AuthorizationType AD_ETYPE_NEGOTIATION
          Constant for the "encryption negotiation" authorization type.
static AuthorizationType AD_IF_RELEVANT
          Constant for the "if relevant" authorization type.
static AuthorizationType AD_IN_TICKET_EXTENSIONS
          Constant for the "in ticket extensions" authorization type.
static AuthorizationType AD_INITIAL_VERIFIED_CAS
          Constant for the "Initial verified CAS" authorization type.
static AuthorizationType AD_INTENDED_FOR_APPLICATION_CLASS
          Constant for the "intended for application class" authorization type.
static AuthorizationType AD_INTENDED_FOR_SERVER
          Constant for the "intended for server" authorization type.
static AuthorizationType AD_KDC_ISSUED
          Constant for the "kdc issued" authorization type.
static AuthorizationType AD_MANDATORY_FOR_KDC
          Constant for the "mandatory for KDC" authorization type.
static AuthorizationType AD_MANDATORY_TICKET_EXTENSIONS
          Constant for the "mandatory ticket extensions" authorization type.
static AuthorizationType AD_OSF_DCE_PKI_CERTID
          Constant for the "OSF DCE PKI CERTID" authorization type.
static AuthorizationType AD_WIN2K_PAC
          Constant for the "WIN2K PAC" authorization type.
static AuthorizationType NULL
          Constant for the "null" authorization type.
static AuthorizationType OSF_DCE
          Constant for the "OSF DCE" authorization type.
static AuthorizationType SESAME
          Constant for the "sesame" authorization type.
static java.util.List<AuthorizationType> VALUES
          A List of all the authorization type constants.
 
Method Summary
 int compareTo(AuthorizationType that)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field 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.


AD_INTENDED_FOR_SERVER

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


AD_INTENDED_FOR_APPLICATION_CLASS

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


AD_KDC_ISSUED

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


AD_AND_OR

public static final AuthorizationType AD_AND_OR
Constant for the "and-or" authorization type.


AD_MANDATORY_TICKET_EXTENSIONS

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


AD_IN_TICKET_EXTENSIONS

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


AD_MANDATORY_FOR_KDC

public static final AuthorizationType AD_MANDATORY_FOR_KDC
Constant for the "mandatory for KDC" authorization type.


AD_INITIAL_VERIFIED_CAS

public static final AuthorizationType AD_INITIAL_VERIFIED_CAS
Constant for the "Initial verified CAS" authorization type.


OSF_DCE

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


SESAME

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


AD_OSF_DCE_PKI_CERTID

public static final AuthorizationType AD_OSF_DCE_PKI_CERTID
Constant for the "OSF DCE PKI CERTID" authorization type.


AD_WIN2K_PAC

public static final AuthorizationType AD_WIN2K_PAC
Constant for the "WIN2K PAC" authorization type.


AD_ETYPE_NEGOTIATION

public static final AuthorizationType AD_ETYPE_NEGOTIATION
Constant for the "encryption negotiation" authorization type.


VALUES

public static final java.util.List<AuthorizationType> VALUES
A List of all the authorization type constants.

Method Detail

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.

compareTo

public int compareTo(AuthorizationType that)
Specified by:
compareTo in interface java.lang.Comparable<AuthorizationType>

toString

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


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.