|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.kerberos.shared.exceptions.ErrorType
public final class ErrorType
A type-safe enumeration of Kerberos error types.
Field Summary | |
---|---|
static ErrorType |
KDC_ERR_BAD_PVNO
Requested protocol version number not supported. |
static ErrorType |
KDC_ERR_BADOPTION
KDC cannot accommodate requested option. |
static ErrorType |
KDC_ERR_C_OLD_MAST_KVNO
Client's key encrypted in old master key. |
static ErrorType |
KDC_ERR_C_PRINCIPAL_UNKNOWN
Client not found in Kerberos database. |
static ErrorType |
KDC_ERR_CANNOT_POSTDATE
Ticket not eligible for postdating. |
static ErrorType |
KDC_ERR_CANT_VERIFY_CERTIFICATE
Can't verify certificate. |
static ErrorType |
KDC_ERR_CLIENT_NAME_MISMATCH
Client names do not match. |
static ErrorType |
KDC_ERR_CLIENT_NOT_TRUSTED
Client is not trusted. |
static ErrorType |
KDC_ERR_CLIENT_NOTYET
Client not yet valid; try again later. |
static ErrorType |
KDC_ERR_CLIENT_REVOKED
Clients credentials have been revoked. |
static ErrorType |
KDC_ERR_DH_KEY_PARAMETERS_NOT_ACCEPTED
Diffie-Hellman (DH) key parameters not accepted. |
static ErrorType |
KDC_ERR_DIGEST_IN_CERT_NOT_ACCEPTED
Digest in certificate not accepted. |
static ErrorType |
KDC_ERR_DIGEST_IN_SIGNED_DATA_NOT_ACCEPTED
Digest in signed data not accepted. |
static ErrorType |
KDC_ERR_ETYPE_NOSUPP
KDC has no support for encryption type. |
static ErrorType |
KDC_ERR_INCONSISTENT_KEY_PURPOSE
Inconsistent key purpose. |
static ErrorType |
KDC_ERR_INVALID_CERTIFICATE
Invalid certificate. |
static ErrorType |
KDC_ERR_INVALID_SIG
Signature is invalid. |
static ErrorType |
KDC_ERR_KEY_EXPIRED
Password has expired; change password to reset. |
static ErrorType |
KDC_ERR_MUST_USE_USER2USER
Server valid for user2user only. |
static ErrorType |
KDC_ERR_NAME_EXP
Client's entry in database has expired. |
static ErrorType |
KDC_ERR_NEVER_VALID
Requested start time is later than end time. |
static ErrorType |
KDC_ERR_NONE
No error. |
static ErrorType |
KDC_ERR_NULL_KEY
The client or server has a null key. |
static ErrorType |
KDC_ERR_PA_CHECKSUM_MUST_BE_INCLUDED
PA checksum must be included. |
static ErrorType |
KDC_ERR_PADATA_TYPE_NOSUPP
KDC has no support for padata type. |
static ErrorType |
KDC_ERR_PATH_NOT_ACCEPTED
KDC Policy rejects transited path. |
static ErrorType |
KDC_ERR_POLICY
KDC policy rejects request. |
static ErrorType |
KDC_ERR_PREAUTH_FAILED
Pre-authentication information was invalid. |
static ErrorType |
KDC_ERR_PREAUTH_REQUIRED
Additional pre-authentication required. |
static ErrorType |
KDC_ERR_PRINCIPAL_NOT_UNIQUE
Multiple principal entries in database. |
static ErrorType |
KDC_ERR_PUBLIC_KEY_ENCRYPTION_NOT_SUPPORTED
Public key encryption not supported. |
static ErrorType |
KDC_ERR_REVOCATION_STATUS_UNKNOWN
Revocation status unknown. |
static ErrorType |
KDC_ERR_REVOKED_CERTIFICATE
Revoked certificate. |
static ErrorType |
KDC_ERR_S_OLD_MAST_KVNO
Server's key encrypted in old master key. |
static ErrorType |
KDC_ERR_S_PRINCIPAL_UNKNOWN
Server not found in Kerberos database. |
static ErrorType |
KDC_ERR_SERVER_NOMATCH
Requested server and ticket don't match. |
static ErrorType |
KDC_ERR_SERVICE_EXP
Server's entry in database has expired. |
static ErrorType |
KDC_ERR_SERVICE_NOTYET
Server not yet valid; try again later. |
static ErrorType |
KDC_ERR_SERVICE_REVOKED
Credentials for server have been revoked. |
static ErrorType |
KDC_ERR_SUMTYPE_NOSUPP
KDC has no support for checksum type. |
static ErrorType |
KDC_ERR_SVC_UNAVAILABLE
A service is not available. |
static ErrorType |
KDC_ERR_TGT_REVOKED
TGT has been revoked. |
static ErrorType |
KDC_ERR_TRTYPE_NOSUPP
KDC has no support for transited type. |
static ErrorType |
KRB_AP_ERR_BAD_INTEGRITY
Integrity check on decrypted field failed. |
static ErrorType |
KRB_AP_ERR_BADADDR
Incorrect net address. |
static ErrorType |
KRB_AP_ERR_BADDIRECTION
Incorrect message direction. |
static ErrorType |
KRB_AP_ERR_BADKEYVER
Specified version of key is not available. |
static ErrorType |
KRB_AP_ERR_BADMATCH
Ticket and authenticator don't match. |
static ErrorType |
KRB_AP_ERR_BADORDER
Message out of order. |
static ErrorType |
KRB_AP_ERR_BADSEQ
Incorrect sequence number in message. |
static ErrorType |
KRB_AP_ERR_BADVERSION
Protocol version mismatch. |
static ErrorType |
KRB_AP_ERR_INAPP_CKSUM
Inappropriate type of checksum in message. |
static ErrorType |
KRB_AP_ERR_METHOD
Alternative authentication method required. |
static ErrorType |
KRB_AP_ERR_MODIFIED
Message stream modified. |
static ErrorType |
KRB_AP_ERR_MSG_TYPE
Invalid msg type. |
static ErrorType |
KRB_AP_ERR_MUT_FAIL
Mutual authentication failed. |
static ErrorType |
KRB_AP_ERR_NO_TGT
No TGT available to validate USER-TO-USER. |
static ErrorType |
KRB_AP_ERR_NOKEY
Service key not available. |
static ErrorType |
KRB_AP_ERR_NOT_US
The ticket isn't for us. |
static ErrorType |
KRB_AP_ERR_REPEAT
Request is a replay. |
static ErrorType |
KRB_AP_ERR_SKEW
Clock skew too great. |
static ErrorType |
KRB_AP_ERR_TKT_EXPIRED
Ticket expired. |
static ErrorType |
KRB_AP_ERR_TKT_NYV
Ticket not yet valid. |
static ErrorType |
KRB_AP_ERR_USER_TO_USER_REQUIRED
Ticket must be for USER-TO-USER. |
static ErrorType |
KRB_AP_PATH_NOT_ACCEPTED
Policy rejects transited path. |
static ErrorType |
KRB_ERR_CERTIFICATE_MISMATCH
Certificates do not match. |
static ErrorType |
KRB_ERR_FIELD_TOOLONG
Field is too long for this implementation. |
static ErrorType |
KRB_ERR_GENERIC
Generic error (description in e-text). |
static ErrorType |
KRB_ERR_KDC_NAME_MISMATCH
KDC names do not match. |
static ErrorType |
KRB_ERR_KDC_NOT_TRUSTED
KDC is not trusted. |
static ErrorType |
KRB_ERR_RESPONSE_TOO_BIG
Response too big for UDP; retry with TCP. |
static ErrorType |
KRB_ERR_REVOCATION_STATUS_UNAVAILABLE
Revocation status unavailable. |
static ErrorType |
KRB_ERR_WRONG_REALM
Wrong realm. |
static java.util.List<ErrorType> |
VALUES
A List of all the error type constants. |
Method Summary | |
---|---|
int |
compareTo(ErrorType that)
Compares this type to another object hopefully one that is of the same type. |
java.lang.String |
getMessage()
Returns the message for this Kerberos error. |
int |
getOrdinal()
Gets the ordinal value associated with this Kerberos error. |
static ErrorType |
getTypeByOrdinal(int ordinal)
Gets the ordinal by its ordinal value. |
java.lang.String |
toString()
Returns the message for this Kerberos error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ErrorType KDC_ERR_NONE
public static final ErrorType KDC_ERR_NAME_EXP
public static final ErrorType KDC_ERR_SERVICE_EXP
public static final ErrorType KDC_ERR_BAD_PVNO
public static final ErrorType KDC_ERR_C_OLD_MAST_KVNO
public static final ErrorType KDC_ERR_S_OLD_MAST_KVNO
public static final ErrorType KDC_ERR_C_PRINCIPAL_UNKNOWN
public static final ErrorType KDC_ERR_S_PRINCIPAL_UNKNOWN
public static final ErrorType KDC_ERR_PRINCIPAL_NOT_UNIQUE
public static final ErrorType KDC_ERR_NULL_KEY
public static final ErrorType KDC_ERR_CANNOT_POSTDATE
public static final ErrorType KDC_ERR_NEVER_VALID
public static final ErrorType KDC_ERR_POLICY
public static final ErrorType KDC_ERR_BADOPTION
public static final ErrorType KDC_ERR_ETYPE_NOSUPP
public static final ErrorType KDC_ERR_SUMTYPE_NOSUPP
public static final ErrorType KDC_ERR_PADATA_TYPE_NOSUPP
public static final ErrorType KDC_ERR_TRTYPE_NOSUPP
public static final ErrorType KDC_ERR_CLIENT_REVOKED
public static final ErrorType KDC_ERR_SERVICE_REVOKED
public static final ErrorType KDC_ERR_TGT_REVOKED
public static final ErrorType KDC_ERR_CLIENT_NOTYET
public static final ErrorType KDC_ERR_SERVICE_NOTYET
public static final ErrorType KDC_ERR_KEY_EXPIRED
public static final ErrorType KDC_ERR_PREAUTH_FAILED
public static final ErrorType KDC_ERR_PREAUTH_REQUIRED
public static final ErrorType KDC_ERR_SERVER_NOMATCH
public static final ErrorType KDC_ERR_MUST_USE_USER2USER
public static final ErrorType KDC_ERR_PATH_NOT_ACCEPTED
public static final ErrorType KDC_ERR_SVC_UNAVAILABLE
public static final ErrorType KRB_AP_ERR_BAD_INTEGRITY
public static final ErrorType KRB_AP_ERR_TKT_EXPIRED
public static final ErrorType KRB_AP_ERR_TKT_NYV
public static final ErrorType KRB_AP_ERR_REPEAT
public static final ErrorType KRB_AP_ERR_NOT_US
public static final ErrorType KRB_AP_ERR_BADMATCH
public static final ErrorType KRB_AP_ERR_SKEW
public static final ErrorType KRB_AP_ERR_BADADDR
public static final ErrorType KRB_AP_ERR_BADVERSION
public static final ErrorType KRB_AP_ERR_MSG_TYPE
public static final ErrorType KRB_AP_ERR_MODIFIED
public static final ErrorType KRB_AP_ERR_BADORDER
public static final ErrorType KRB_AP_ERR_BADKEYVER
public static final ErrorType KRB_AP_ERR_NOKEY
public static final ErrorType KRB_AP_ERR_MUT_FAIL
public static final ErrorType KRB_AP_ERR_BADDIRECTION
public static final ErrorType KRB_AP_ERR_METHOD
public static final ErrorType KRB_AP_ERR_BADSEQ
public static final ErrorType KRB_AP_ERR_INAPP_CKSUM
public static final ErrorType KRB_AP_PATH_NOT_ACCEPTED
public static final ErrorType KRB_ERR_RESPONSE_TOO_BIG
public static final ErrorType KRB_ERR_GENERIC
public static final ErrorType KRB_ERR_FIELD_TOOLONG
public static final ErrorType KDC_ERR_CLIENT_NOT_TRUSTED
public static final ErrorType KRB_ERR_KDC_NOT_TRUSTED
public static final ErrorType KDC_ERR_INVALID_SIG
public static final ErrorType KDC_ERR_DH_KEY_PARAMETERS_NOT_ACCEPTED
public static final ErrorType KRB_ERR_CERTIFICATE_MISMATCH
public static final ErrorType KRB_AP_ERR_NO_TGT
public static final ErrorType KRB_ERR_WRONG_REALM
public static final ErrorType KRB_AP_ERR_USER_TO_USER_REQUIRED
public static final ErrorType KDC_ERR_CANT_VERIFY_CERTIFICATE
public static final ErrorType KDC_ERR_INVALID_CERTIFICATE
public static final ErrorType KDC_ERR_REVOKED_CERTIFICATE
public static final ErrorType KDC_ERR_REVOCATION_STATUS_UNKNOWN
public static final ErrorType KRB_ERR_REVOCATION_STATUS_UNAVAILABLE
public static final ErrorType KDC_ERR_CLIENT_NAME_MISMATCH
public static final ErrorType KRB_ERR_KDC_NAME_MISMATCH
public static final ErrorType KDC_ERR_INCONSISTENT_KEY_PURPOSE
public static final ErrorType KDC_ERR_DIGEST_IN_CERT_NOT_ACCEPTED
public static final ErrorType KDC_ERR_PA_CHECKSUM_MUST_BE_INCLUDED
public static final ErrorType KDC_ERR_DIGEST_IN_SIGNED_DATA_NOT_ACCEPTED
public static final ErrorType KDC_ERR_PUBLIC_KEY_ENCRYPTION_NOT_SUPPORTED
public static final java.util.List<ErrorType> VALUES
Method Detail |
---|
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(ErrorType that)
compareTo
in interface java.lang.Comparable<ErrorType>
that
- the object to compare this KerberosError to
public static ErrorType getTypeByOrdinal(int ordinal)
ordinal
- the ordinal value of the ordinal
public int getOrdinal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |