org.apache.directory.server.kerberos.shared.messages.components
Class MessageComponentType

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.components.MessageComponentType
All Implemented Interfaces:
java.lang.Comparable

public class MessageComponentType
extends java.lang.Object
implements java.lang.Comparable

Type-safe enumerator for message component types


Field Summary
static MessageComponentType KRB_AUTHENTICATOR
           
static MessageComponentType KRB_ENC_AP_REP_PART
           
static MessageComponentType KRB_ENC_AS_REP_PART
           
static MessageComponentType KRB_ENC_KRB_CRED_PART
           
static MessageComponentType KRB_ENC_KRB_PRIV_PART
           
static MessageComponentType KRB_ENC_TGS_REP_PART
           
static MessageComponentType KRB_ENC_TKT_PART
           
static MessageComponentType KRB_TKT
           
static MessageComponentType NULL
          Enumeration elements are constructed once upon class loading.
static java.util.List VALUES
           
 
Method Summary
 int compareTo(java.lang.Object that)
           
 int getOrdinal()
           
static MessageComponentType getTypeByOrdinal(int type)
           
 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 MessageComponentType NULL
Enumeration elements are constructed once upon class loading. Order of appearance here determines the order of compareTo.


KRB_TKT

public static final MessageComponentType KRB_TKT

KRB_AUTHENTICATOR

public static final MessageComponentType KRB_AUTHENTICATOR

KRB_ENC_TKT_PART

public static final MessageComponentType KRB_ENC_TKT_PART

KRB_ENC_AS_REP_PART

public static final MessageComponentType KRB_ENC_AS_REP_PART

KRB_ENC_TGS_REP_PART

public static final MessageComponentType KRB_ENC_TGS_REP_PART

KRB_ENC_AP_REP_PART

public static final MessageComponentType KRB_ENC_AP_REP_PART

KRB_ENC_KRB_PRIV_PART

public static final MessageComponentType KRB_ENC_KRB_PRIV_PART

KRB_ENC_KRB_CRED_PART

public static final MessageComponentType KRB_ENC_KRB_CRED_PART

VALUES

public static final java.util.List VALUES
Method Detail

getTypeByOrdinal

public static MessageComponentType getTypeByOrdinal(int type)

getOrdinal

public int getOrdinal()

toString

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

compareTo

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


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