public class BcryptCredentialMatcher extends java.lang.Object implements org.apache.shiro.authc.credential.CredentialsMatcher, org.apache.shiro.authc.credential.PasswordService
User: pmcneil Date: 10/07/19
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info) |
|
public java.lang.String |
encryptPassword(java.lang.Object plaintextPassword) |
|
public int |
getRounds()Retrieves the number of rounds used for generating the BCrypt hash. |
|
public boolean |
passwordsMatch(java.lang.Object submittedPlaintext, java.lang.String encrypted) |
|
public void |
setRounds(int rounds)Sets the number of rounds to be used in generating the BCrypt hash. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Retrieves the number of rounds used for generating the BCrypt hash.
Sets the number of rounds to be used in generating the BCrypt hash.
rounds - the number of rounds to set for BCrypt hashing