public interface PasswordHandler
Modifier and Type | Method and Description |
---|---|
boolean |
isHashed()
Is the password value hashed ? If so we can display it.
|
boolean |
passwordValid(PasswordRecord pr,
java.lang.String password)
Is the passed in password valid.
|
void |
passwordWrite(PasswordRecord pr,
java.lang.String password)
Write the password to this password record.
|
@CheckReturnValue boolean passwordValid(@Nonnull PasswordRecord pr, @Nullable java.lang.String password)
pr
- the password record.password
- the password.@CheckReturnValue boolean isHashed()
void passwordWrite(@Nonnull PasswordRecord pr, @Nonnull java.lang.String password) throws java.lang.Exception
pr
- the record.password
- the password to write.java.lang.Exception
- a serious problem.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.