public enum AuthCredentialType extends Enum<AuthCredentialType>
| Enum Constant and Description |
|---|
CLIENT_CREDENTIALS |
PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getName() |
static String |
getTypeName(int typeId) |
static AuthCredentialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthCredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthCredentialType CLIENT_CREDENTIALS
public static final AuthCredentialType PASSWORD
public static AuthCredentialType[] values()
for (AuthCredentialType c : AuthCredentialType.values()) System.out.println(c);
public static AuthCredentialType 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 getId()
public String getName()
public static String getTypeName(int typeId)
Copyright © 2004-2016. All Rights Reserved.