public enum ChangePasswdErrorType extends 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 | Method and Description |
---|---|
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.
|
String |
toString()
Returns the message for this Change Password error.
|
static ChangePasswdErrorType |
valueOf(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
public static ChangePasswdErrorType[] values()
for (ChangePasswdErrorType c : ChangePasswdErrorType.values()) System.out.println(c);
public static ChangePasswdErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getMessage()
public String toString()
toString
in class Enum<ChangePasswdErrorType>
public static ChangePasswdErrorType getTypeByValue(int value)
value
- the value of the errorpublic int getValue()
Copyright © 2018. All rights reserved.