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

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

public class PreAuthenticationDataType
extends java.lang.Object
implements java.lang.Comparable<PreAuthenticationDataType>

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

Field Summary
static PreAuthenticationDataType NULL
          Constant for the "null" pre-authentication data type.
static PreAuthenticationDataType PA_ALT_PRINC
          Constant for the "Alternate principal" pre-authentication data type.
static PreAuthenticationDataType PA_ASF3_SALT
          Constant for the "ASF3 salt" pre-authentication data type.
static PreAuthenticationDataType PA_CYBERSAFE_SECUREID
          Constant for the "cybersafe secureid" pre-authentication data type.
static PreAuthenticationDataType PA_ENC_TIMESTAMP
          Constant for the "encrypted timestamp" pre-authentication data type.
static PreAuthenticationDataType PA_ENC_UNIX_TIME
          Constant for the "enc unix time" pre-authentication data type.
static PreAuthenticationDataType PA_ETYPE_INFO
          Constant for the "encryption info" pre-authentication data type.
static PreAuthenticationDataType PA_ETYPE_INFO2
          Constant for the "Encryption info 2" pre-authentication data type.
static PreAuthenticationDataType PA_EXTRA_TGT
          Constant for the "Reserved extra TGT" pre-authentication data type.
static PreAuthenticationDataType PA_GET_FROM_TYPED_DATA
          Constant for the "Embedded in typed data" pre-authentication data type.
static PreAuthenticationDataType PA_OSF_DCE
          Constant for the "OSF DCE" pre-authentication data type.
static PreAuthenticationDataType PA_PAC_REQUEST
          Constant for the "PAC request" pre-authentication data type.
static PreAuthenticationDataType PA_PK_AS_REP
          Constant for the "PK AS reply" pre-authentication data type.
static PreAuthenticationDataType PA_PK_AS_REP_OLD
          Constant for the "Old PK AS reply" pre-authentication data type.
static PreAuthenticationDataType PA_PK_AS_REQ
          Constant for the "PK AS request" pre-authentication data type.
static PreAuthenticationDataType PA_PK_AS_REQ_OLD
          Constant for the "Old PK AS request" pre-authentication data type.
static PreAuthenticationDataType PA_PW_SALT
          Constant for the "password salt" pre-authentication data type.
static PreAuthenticationDataType PA_SAM_CHALLENGE
          Constant for the "SAM challenge" pre-authentication data type.
static PreAuthenticationDataType PA_SAM_CHALLENGE2
          Constant for the "SAM challenge 2" pre-authentication data type.
static PreAuthenticationDataType PA_SAM_ETYPE_INFO
          Constant for the "SAM encryption info" pre-authentication data type.
static PreAuthenticationDataType PA_SAM_REDIRECT
          Constant for the "SAM redirect" pre-authentication data type.
static PreAuthenticationDataType PA_SAM_RESPONSE
          Constant for the "SAM response" pre-authentication data type.
static PreAuthenticationDataType PA_SAM_RESPONSE2
          Constant for the "SAM response 2" pre-authentication data type.
static PreAuthenticationDataType PA_SANDIA_SECUREID
          Constant for the "sandia secureid" pre-authentication data type.
static PreAuthenticationDataType PA_SESAME
          Constant for the "sesame" pre-authentication data type.
static PreAuthenticationDataType PA_TGS_REQ
          Constant for the "TGS request" pre-authentication data type.
static PreAuthenticationDataType PA_USE_SPECIFIED_KVNO
          Constant for the "use specified key version" pre-authentication data type.
static PreAuthenticationDataType TD_APP_DEFINED_ERROR
          Constant for the "application specific" pre-authentication data type.
static PreAuthenticationDataType TD_CERTIFICATE_INDEX
          Constant for the "Certificate index" pre-authentication data type.
static PreAuthenticationDataType TD_KRB_PRINCIPAL
          Constant for the "PrincipalName" pre-authentication data type.
static PreAuthenticationDataType TD_KRB_REALM
          Constant for the "Realm" pre-authentication data type.
static PreAuthenticationDataType TD_PADATA
          Constant for the "Embeds padata" pre-authentication data type.
static PreAuthenticationDataType TD_PKINIT_CMS_CERTIFICATES
          Constant for the "CertificateSet from CMS" pre-authentication data type.
static PreAuthenticationDataType TD_REQ_NONCE
          Constant for the "Request nonce" pre-authentication data type.
static PreAuthenticationDataType TD_REQ_SEQ
          Constant for the "Request sequence number" pre-authentication data type.
static PreAuthenticationDataType TD_TRUSTED_CERTIFIERS
          Constant for the "Trusted certifiers" pre-authentication data type.
static java.util.List<PreAuthenticationDataType> VALUES
          A list of all the pre-authentication type constants.
 
Method Summary
 int compareTo(PreAuthenticationDataType that)
           
 int getOrdinal()
          Returns the number associated with this pre-authentication type.
static PreAuthenticationDataType getTypeByOrdinal(int type)
          Returns the pre-authentication 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 PreAuthenticationDataType NULL
Constant for the "null" pre-authentication data type.


PA_TGS_REQ

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


PA_ENC_TIMESTAMP

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


PA_PW_SALT

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


PA_ENC_UNIX_TIME

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


PA_SANDIA_SECUREID

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


PA_SESAME

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


PA_OSF_DCE

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


PA_CYBERSAFE_SECUREID

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


PA_ASF3_SALT

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


PA_ETYPE_INFO

public static final PreAuthenticationDataType PA_ETYPE_INFO
Constant for the "encryption info" pre-authentication data type.


PA_SAM_CHALLENGE

public static final PreAuthenticationDataType PA_SAM_CHALLENGE
Constant for the "SAM challenge" pre-authentication data type.


PA_SAM_RESPONSE

public static final PreAuthenticationDataType PA_SAM_RESPONSE
Constant for the "SAM response" pre-authentication data type.


PA_PK_AS_REQ_OLD

public static final PreAuthenticationDataType PA_PK_AS_REQ_OLD
Constant for the "Old PK AS request" pre-authentication data type.


PA_PK_AS_REP_OLD

public static final PreAuthenticationDataType PA_PK_AS_REP_OLD
Constant for the "Old PK AS reply" pre-authentication data type.


PA_PK_AS_REQ

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


PA_PK_AS_REP

public static final PreAuthenticationDataType PA_PK_AS_REP
Constant for the "PK AS reply" pre-authentication data type.


PA_ETYPE_INFO2

public static final PreAuthenticationDataType PA_ETYPE_INFO2
Constant for the "Encryption info 2" pre-authentication data type.


PA_USE_SPECIFIED_KVNO

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


PA_SAM_REDIRECT

public static final PreAuthenticationDataType PA_SAM_REDIRECT
Constant for the "SAM redirect" pre-authentication data type.


PA_GET_FROM_TYPED_DATA

public static final PreAuthenticationDataType PA_GET_FROM_TYPED_DATA
Constant for the "Embedded in typed data" pre-authentication data type.


TD_PADATA

public static final PreAuthenticationDataType TD_PADATA
Constant for the "Embeds padata" pre-authentication data type.


PA_SAM_ETYPE_INFO

public static final PreAuthenticationDataType PA_SAM_ETYPE_INFO
Constant for the "SAM encryption info" pre-authentication data type.


PA_ALT_PRINC

public static final PreAuthenticationDataType PA_ALT_PRINC
Constant for the "Alternate principal" pre-authentication data type.


PA_SAM_CHALLENGE2

public static final PreAuthenticationDataType PA_SAM_CHALLENGE2
Constant for the "SAM challenge 2" pre-authentication data type.


PA_SAM_RESPONSE2

public static final PreAuthenticationDataType PA_SAM_RESPONSE2
Constant for the "SAM response 2" pre-authentication data type.


PA_EXTRA_TGT

public static final PreAuthenticationDataType PA_EXTRA_TGT
Constant for the "Reserved extra TGT" pre-authentication data type.


TD_PKINIT_CMS_CERTIFICATES

public static final PreAuthenticationDataType TD_PKINIT_CMS_CERTIFICATES
Constant for the "CertificateSet from CMS" pre-authentication data type.


TD_KRB_PRINCIPAL

public static final PreAuthenticationDataType TD_KRB_PRINCIPAL
Constant for the "PrincipalName" pre-authentication data type.


TD_KRB_REALM

public static final PreAuthenticationDataType TD_KRB_REALM
Constant for the "Realm" pre-authentication data type.


TD_TRUSTED_CERTIFIERS

public static final PreAuthenticationDataType TD_TRUSTED_CERTIFIERS
Constant for the "Trusted certifiers" pre-authentication data type.


TD_CERTIFICATE_INDEX

public static final PreAuthenticationDataType TD_CERTIFICATE_INDEX
Constant for the "Certificate index" pre-authentication data type.


TD_APP_DEFINED_ERROR

public static final PreAuthenticationDataType TD_APP_DEFINED_ERROR
Constant for the "application specific" pre-authentication data type.


TD_REQ_NONCE

public static final PreAuthenticationDataType TD_REQ_NONCE
Constant for the "Request nonce" pre-authentication data type.


TD_REQ_SEQ

public static final PreAuthenticationDataType TD_REQ_SEQ
Constant for the "Request sequence number" pre-authentication data type.


PA_PAC_REQUEST

public static final PreAuthenticationDataType PA_PAC_REQUEST
Constant for the "PAC request" pre-authentication data type.


VALUES

public static final java.util.List<PreAuthenticationDataType> VALUES
A list of all the pre-authentication type constants.

Method Detail

getTypeByOrdinal

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

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

getOrdinal

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

Returns:
The pre-authentication type ordinal.

compareTo

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

toString

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


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