public enum KerberosNameType extends Enum<KerberosNameType>
| Enum Constant and Description |
|---|
HOSTBASED_SERVICE |
USER_NAME |
| Modifier and Type | Method and Description |
|---|---|
abstract GSSName |
getGSSName(GSSManager gssManager,
String serviceName,
String hostname) |
abstract String |
makeServicePrincipal(String serviceName,
String hostname) |
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 abstract GSSName getGSSName(GSSManager gssManager, String serviceName, String hostname)
Copyright © 2012–2019. All rights reserved.