public final class LongPasswordStrategies extends Object
LongPasswordStrategy implementatins| Modifier and Type | Method and Description |
|---|---|
static LongPasswordStrategy |
hashSha512(BCrypt.Version version)
|
static LongPasswordStrategy |
none()
|
static LongPasswordStrategy |
strict(BCrypt.Version version)
|
static LongPasswordStrategy |
truncate(BCrypt.Version version)
|
public static LongPasswordStrategy truncate(BCrypt.Version version)
version - required to get the max allowed pw lengthpublic static LongPasswordStrategy hashSha512(BCrypt.Version version)
version - required to get the max allowed pw lengthpublic static LongPasswordStrategy strict(BCrypt.Version version)
version - required to get the max allowed pw lengthpublic static LongPasswordStrategy none()
Copyright © 2018–2023. All rights reserved.