public enum ChangePasswdErrorType extends java.lang.Enum<ChangePasswdErrorType>
| Enum Constant and Description |
|---|
KRB5_KPASSWD_ACCESSDENIED
Constant for the "Requestor not authorized" error type.
|
KRB5_KPASSWD_AUTHERROR
Constant for the "Request failed due to an error in authentication processing" error type.
|
KRB5_KPASSWD_BAD_VERSION
Constant for the "Protocol version unsupported" error type.
|
KRB5_KPASSWD_HARDERROR
Constant for the "Request failed due to a hard error in processing the request" error type.
|
KRB5_KPASSWD_INITIAL_FLAG_NEEDED
Constant for the "Initial flag required" error type.
|
KRB5_KPASSWD_MALFORMED
Constant for the "Request failed due to being malformed" error type.
|
KRB5_KPASSWD_SOFTERROR
Constant for the "Request failed due to a soft error in processing the request" error type.
|
KRB5_KPASSWD_UNKNOWN_ERROR
Constant for the "Request failed for an unknown reason" error type.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name
The name of the error type.
|
private int |
value
The value/code for the error type.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns the message for this Change Password error.
|
static ChangePasswdErrorType |
getTypeByValue(int value)
Gets the error type by its value.
|
int |
getValue()
Gets the value associated with this Change Password error.
|
java.lang.String |
toString()
Returns the message for this Change Password error.
|
static ChangePasswdErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangePasswdErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangePasswdErrorType KRB5_KPASSWD_MALFORMED
public static final ChangePasswdErrorType KRB5_KPASSWD_HARDERROR
public static final ChangePasswdErrorType KRB5_KPASSWD_AUTHERROR
public static final ChangePasswdErrorType KRB5_KPASSWD_SOFTERROR
public static final ChangePasswdErrorType KRB5_KPASSWD_ACCESSDENIED
public static final ChangePasswdErrorType KRB5_KPASSWD_BAD_VERSION
public static final ChangePasswdErrorType KRB5_KPASSWD_INITIAL_FLAG_NEEDED
public static final ChangePasswdErrorType KRB5_KPASSWD_UNKNOWN_ERROR
private final java.lang.String name
private final int value
public static ChangePasswdErrorType[] values()
for (ChangePasswdErrorType c : ChangePasswdErrorType.values()) System.out.println(c);
public static ChangePasswdErrorType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getMessage()
public java.lang.String toString()
toString in class java.lang.Enum<ChangePasswdErrorType>public static ChangePasswdErrorType getTypeByValue(int value)
value - the value of the errorpublic int getValue()