| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPasswordEncoder
Converts salt and encoded password bytes into a standard base64 encoding
for storage.
|
| Modifier and Type | Method and Description |
|---|---|
static PasswordEncoder |
DefaultPasswordEncoder.getDefaultInstance()
Returns a new encoder with identifier "PKCS5S2" using
PKCS5S2PasswordHashGenerator
as the hash generator and RandomSaltGenerator as the salt generator. |
static PasswordEncoder |
DefaultPasswordEncoder.newInstance(String identifier,
PasswordHashGenerator hashGenerator)
Returns a new encoder with specified identifier and hash generator, using
RandomSaltGenerator
as the salt generator. |
Copyright © 2017 Atlassian. All rights reserved.