@Dependent public class TomEEPbkdf2PasswordHash extends Object implements javax.security.enterprise.identitystore.Pbkdf2PasswordHash
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_BYTE_SIZE |
static String |
PBKDF2_ALGORITHM |
static int |
PBKDF2_ITERATIONS |
static int |
SALT_BYTE_SIZE |
| Constructor and Description |
|---|
TomEEPbkdf2PasswordHash() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate(char[] password) |
void |
initialize(Map<String,String> parameters) |
boolean |
verify(char[] password,
String hashedPassword) |
public static final String PBKDF2_ALGORITHM
public static final int SALT_BYTE_SIZE
public static final int HASH_BYTE_SIZE
public static final int PBKDF2_ITERATIONS
public void initialize(Map<String,String> parameters)
initialize in interface javax.security.enterprise.identitystore.PasswordHashpublic String generate(char[] password)
generate in interface javax.security.enterprise.identitystore.PasswordHashpublic boolean verify(char[] password,
String hashedPassword)
verify in interface javax.security.enterprise.identitystore.PasswordHashCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.