public abstract class RealmAuthenticationAdapter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
UsernameAuthenticator |
| Modifier | Constructor and Description |
|---|---|
protected |
RealmAuthenticationAdapter()
Creates a new instance of RealmAuthenticator
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
authenticate(Subject callerSubject,
String username,
String password) |
boolean |
authenticate(Subject callerSubject,
String username,
String password,
Map runtimeProps) |
boolean |
authenticate(Subject callerSubject,
String username,
String passwordDigest,
String nonce,
String created) |
boolean |
authenticate(Subject callerSubject,
String username,
String passwordDigest,
String nonce,
String created,
Map runtimeProps) |
static RealmAuthenticationAdapter |
newInstance(Object context) |
public static final String UsernameAuthenticator
protected RealmAuthenticationAdapter()
public abstract boolean authenticate(Subject callerSubject, String username, String password) throws XWSSecurityException
callerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authenticationusername - the usernamepassword - the passwordcom.sun.xml.wss.XWSSecurityException, - if there is an authentication failureXWSSecurityExceptionpublic boolean authenticate(Subject callerSubject, String username, String password, Map runtimeProps) throws XWSSecurityException
callerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authenticationusername - the usernamepassword - the passwordruntimeProps - Map of runtime properties that can be used in authentication decisioncom.sun.xml.wss.XWSSecurityException, - if there is an authentication failureXWSSecurityExceptionpublic boolean authenticate(Subject callerSubject, String username, String passwordDigest, String nonce, String created) throws XWSSecurityException
callerSubject - 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 failurepublic boolean authenticate(Subject callerSubject, String username, String passwordDigest, String nonce, String created, Map runtimeProps) throws XWSSecurityException
callerSubject - 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 UsernameTokenruntimeProps - Map of runtime properties that can be used in authentication decisionXWSSecurityException - if there is an authentication failurepublic static RealmAuthenticationAdapter newInstance(Object context)
context - optional context that can be used to locate the META-INF/services entry "com.sun.xml.xwss.RealmAuthenticator"Copyright © 2005–2018 Oracle Corporation. All rights reserved.