public static enum UsernameToken.PasswordType extends Enum<UsernameToken.PasswordType>
| Enum Constant and Description |
|---|
HashPassword |
NoPassword |
| Modifier and Type | Method and Description |
|---|---|
static UsernameToken.PasswordType |
lookUp(String name) |
static UsernameToken.PasswordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsernameToken.PasswordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsernameToken.PasswordType NoPassword
public static final UsernameToken.PasswordType HashPassword
public static UsernameToken.PasswordType[] values()
for (UsernameToken.PasswordType c : UsernameToken.PasswordType.values()) System.out.println(c);
public static UsernameToken.PasswordType 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 static UsernameToken.PasswordType lookUp(String name)
Copyright © 2018 JBoss by Red Hat. All rights reserved.