public static enum Credential.Type extends Enum<Credential.Type>
Modifier and Type | Method and Description |
---|---|
static Credential.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Credential.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Credential.Type NONE
public static final Credential.Type PASSWORD
public static final Credential.Type TOKEN
public static final Credential.Type KEY_PAIR
public static Credential.Type[] values()
for (Credential.Type c : Credential.Type.values()) System.out.println(c);
public static Credential.Type 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 nullCopyright © 2011–2016 eXo Platform SAS. All rights reserved.