public enum KerberosNameType extends Enum<KerberosNameType>
| Enum Constant and Description |
|---|
HOSTBASED_SERVICE |
USER_NAME |
| Modifier and Type | Method and Description |
|---|---|
Oid |
getOid() |
static KerberosNameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KerberosNameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KerberosNameType HOSTBASED_SERVICE
public static final KerberosNameType USER_NAME
public static KerberosNameType[] values()
for (KerberosNameType c : KerberosNameType.values()) System.out.println(c);
public static KerberosNameType 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 Oid getOid()
Copyright © 2010–2020 Airlift. All rights reserved.