public enum PasswordAlgorithm extends Enum<PasswordAlgorithm>
| Enum Constant and Description |
|---|
MD5 |
PLAIN_TEXT |
SHA |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithmName() |
static PasswordAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordAlgorithm PLAIN_TEXT
public static final PasswordAlgorithm MD5
public static final PasswordAlgorithm SHA
public static PasswordAlgorithm[] values()
for (PasswordAlgorithm c : PasswordAlgorithm.values()) System.out.println(c);
public static PasswordAlgorithm 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 String getAlgorithmName()
Copyright © 2015 WSO2. All rights reserved.