public enum ChangePasswordResultCode extends Enum<ChangePasswordResultCode>
Enum Constant and Description |
---|
KRB5_KPASSWD_ACCESSDENIED
requestor not authorized
|
KRB5_KPASSWD_AUTHERROR
request fails due to an error in authentication processing
|
KRB5_KPASSWD_BAD_VERSION
protocol version unsupported
|
KRB5_KPASSWD_HARDERROR
request fails due to "hard" error in processing the request
(for example, there is a resource or other problem causing
the request to fail)
|
KRB5_KPASSWD_INITIAL_FLAG_NEEDED
initial flag required
|
KRB5_KPASSWD_MALFORMED
request fails due to being malformed
|
KRB5_KPASSWD_SOFTERROR
request fails due to a "soft" error in processing the request
|
KRB5_KPASSWD_SUCCESS
request succeeds (This value is not allowed in a KRB-ERROR message)
|
OTHER
0xFFFF(65535) is returned if the request fails for some other reason
|
Modifier and Type | Method and Description |
---|---|
static ChangePasswordResultCode |
getByValue(int code) |
int |
getVal() |
String |
toString() |
static ChangePasswordResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangePasswordResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangePasswordResultCode KRB5_KPASSWD_SUCCESS
public static final ChangePasswordResultCode KRB5_KPASSWD_MALFORMED
public static final ChangePasswordResultCode KRB5_KPASSWD_HARDERROR
public static final ChangePasswordResultCode KRB5_KPASSWD_AUTHERROR
public static final ChangePasswordResultCode KRB5_KPASSWD_SOFTERROR
public static final ChangePasswordResultCode KRB5_KPASSWD_ACCESSDENIED
public static final ChangePasswordResultCode KRB5_KPASSWD_BAD_VERSION
public static final ChangePasswordResultCode KRB5_KPASSWD_INITIAL_FLAG_NEEDED
public static final ChangePasswordResultCode OTHER
public static ChangePasswordResultCode[] values()
for (ChangePasswordResultCode c : ChangePasswordResultCode.values()) System.out.println(c);
public static ChangePasswordResultCode 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 int getVal()
public static ChangePasswordResultCode getByValue(int code)
public String toString()
toString
in class Enum<ChangePasswordResultCode>
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.