public class DefaultRealmAuthenticationAdapter extends RealmAuthenticationAdapter
UsernameAuthenticator| Constructor and Description |
|---|
DefaultRealmAuthenticationAdapter()
Creates a new instance of DefaultRealmAuthenticationProvider
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(Subject callerSubject,
String username,
String password) |
boolean |
authenticate(Subject callerSubject,
String username,
String passwordDigest,
String nonce,
String created) |
protected CallbackHandler |
loadGFHandler() |
authenticate, authenticate, newInstancepublic DefaultRealmAuthenticationAdapter()
public boolean authenticate(Subject callerSubject, String username, String password) throws XWSSecurityException
authenticate in class RealmAuthenticationAdaptercallerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authenticationusername - the usernamepassword - the passwordXWSSecurityExceptionpublic boolean authenticate(Subject callerSubject, String username, String passwordDigest, String nonce, String created) throws XWSSecurityException
authenticate in class RealmAuthenticationAdaptercallerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authenticationusername - the usernamepasswordDigest - the password-digestnonce - a nonce sent by the caller in the UsernameTokencreated - the creation time of the UsernameTokenXWSSecurityException - if there is an authentication failureprotected CallbackHandler loadGFHandler()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.