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

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

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

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

Enum Constant Summary
NULL
          Constant for the "null" pre-authentication data type.
PA_ASF3_SALT
          Constant for the "ASF3 salt" pre-authentication data type.
PA_CYBERSAFE_SECUREID
          Constant for the "cybersafe secureid" pre-authentication data type.
PA_ENC_TIMESTAMP
          Constant for the "encrypted timestamp" pre-authentication data type.
PA_ENC_UNIX_TIME
          Constant for the "enc unix time" pre-authentication data type.
PA_ENCTYPE_INFO
          Constant for the "encryption info" pre-authentication data type.
PA_GET_FROM_TYPED_DATA
          Constant for the "get from typed data" pre-authentication data type.
PA_OSF_DCE
          Constant for the "OSF DCE" pre-authentication data type.
PA_PK_AS_REP
          Constant for the "PK as response" pre-authentication data type.
PA_PK_AS_REQ
          Constant for the "PK as request" pre-authentication data type.
PA_PW_SALT
          Constant for the "password salt" pre-authentication data type.
PA_SANDIA_SECUREID
          Constant for the "sandia secureid" pre-authentication data type.
PA_SESAME
          Constant for the "sesame" pre-authentication data type.
PA_TGS_REQ
          Constant for the "TGS request" pre-authentication data type.
PA_USE_SPECIFIED_KVNO
          Constant for the "use specified key version" pre-authentication data type.
SAM_CHALLENGE
          Constant for the "SAM challenge" pre-authentication data type.
SAM_REDIRECT
          Constant for the "SAM redirect" pre-authentication data type.
SAM_RESPONSE
          Constant for the "SAM response" pre-authentication data type.
 
Method Summary
 int getOrdinal()
          Returns the number associated with this pre-authentication type.
static PaDataType getTypeByOrdinal(int type)
          Returns the pre authentication data type when specified by its ordinal.
 java.lang.String toString()
           
static PaDataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PaDataType[] 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 PaDataType NULL
Constant for the "null" pre-authentication data type.


PA_TGS_REQ

public static final PaDataType PA_TGS_REQ
Constant for the "TGS request" pre-authentication data type.


PA_ENC_TIMESTAMP

public static final PaDataType PA_ENC_TIMESTAMP
Constant for the "encrypted timestamp" pre-authentication data type.


PA_PW_SALT

public static final PaDataType PA_PW_SALT
Constant for the "password salt" pre-authentication data type.


PA_ENC_UNIX_TIME

public static final PaDataType PA_ENC_UNIX_TIME
Constant for the "enc unix time" pre-authentication data type.


PA_SANDIA_SECUREID

public static final PaDataType PA_SANDIA_SECUREID
Constant for the "sandia secureid" pre-authentication data type.


PA_SESAME

public static final PaDataType PA_SESAME
Constant for the "sesame" pre-authentication data type.


PA_OSF_DCE

public static final PaDataType PA_OSF_DCE
Constant for the "OSF DCE" pre-authentication data type.


PA_CYBERSAFE_SECUREID

public static final PaDataType PA_CYBERSAFE_SECUREID
Constant for the "cybersafe secureid" pre-authentication data type.


PA_ASF3_SALT

public static final PaDataType PA_ASF3_SALT
Constant for the "ASF3 salt" pre-authentication data type.


PA_ENCTYPE_INFO

public static final PaDataType PA_ENCTYPE_INFO
Constant for the "encryption info" pre-authentication data type.


SAM_CHALLENGE

public static final PaDataType SAM_CHALLENGE
Constant for the "SAM challenge" pre-authentication data type.


SAM_RESPONSE

public static final PaDataType SAM_RESPONSE
Constant for the "SAM response" pre-authentication data type.


PA_PK_AS_REQ

public static final PaDataType PA_PK_AS_REQ
Constant for the "PK as request" pre-authentication data type.


PA_PK_AS_REP

public static final PaDataType PA_PK_AS_REP
Constant for the "PK as response" pre-authentication data type.


PA_USE_SPECIFIED_KVNO

public static final PaDataType PA_USE_SPECIFIED_KVNO
Constant for the "use specified key version" pre-authentication data type.


SAM_REDIRECT

public static final PaDataType SAM_REDIRECT
Constant for the "SAM redirect" pre-authentication data type.


PA_GET_FROM_TYPED_DATA

public static final PaDataType PA_GET_FROM_TYPED_DATA
Constant for the "get from typed data" pre-authentication data type.

Method Detail

values

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

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

valueOf

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

getOrdinal

public int getOrdinal()
Returns the number associated with this pre-authentication type.

Returns:
The pre-authentication type ordinal.

getTypeByOrdinal

public static PaDataType getTypeByOrdinal(int type)
Returns the pre authentication data type when specified by its ordinal.

Parameters:
type - The ordinal
Returns:
The pre authentication type.

toString

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


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