public abstract class StandardCredentialsRealm extends Object implements Realm
| Constructor and Description |
|---|
StandardCredentialsRealm() |
| Modifier and Type | Method and Description |
|---|---|
Account |
authenticate(AuthenticationToken authenticationToken) |
Account |
authenticate(StandardCredentials requestCredentials) |
abstract Account |
authenticate(String username,
String password) |
boolean |
canAuthenticate(AuthenticationToken authenticationToken) |
String |
toString() |
protected boolean |
validatePassword(StandardCredentials requestCredentials,
StandardCredentials storedCredentials)
Validate a password.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccount, getRealmName, hasAccount, setup, start, stoppublic boolean canAuthenticate(AuthenticationToken authenticationToken)
canAuthenticate in interface Realmpublic Account authenticate(AuthenticationToken authenticationToken)
authenticate in interface Realmpublic Account authenticate(StandardCredentials requestCredentials)
protected boolean validatePassword(StandardCredentials requestCredentials, StandardCredentials storedCredentials)
Supported password formats are:
requestCredentials - storedCredentials - Copyright © 2017. All rights reserved.