com.sun.xml.wss.impl.misc
Class DefaultRealmAuthenticationAdapter
java.lang.Object
com.sun.xml.wss.RealmAuthenticationAdapter
com.sun.xml.wss.impl.misc.DefaultRealmAuthenticationAdapter
public class DefaultRealmAuthenticationAdapter
- extends RealmAuthenticationAdapter
- Author:
- kumar jayanti
|
Method Summary |
boolean |
authenticate(javax.security.auth.Subject callerSubject,
java.lang.String username,
java.lang.String password)
|
boolean |
authenticate(javax.security.auth.Subject callerSubject,
java.lang.String username,
java.lang.String passwordDigest,
java.lang.String nonce,
java.lang.String created)
|
protected javax.security.auth.callback.CallbackHandler |
loadGFHandler()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRealmAuthenticationAdapter
public DefaultRealmAuthenticationAdapter()
- Creates a new instance of DefaultRealmAuthenticationProvider
authenticate
public boolean authenticate(javax.security.auth.Subject callerSubject,
java.lang.String username,
java.lang.String password)
throws XWSSecurityException
- Specified by:
authenticate in class RealmAuthenticationAdapter
- Parameters:
callerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authenticationusername - the usernamepassword - the password
- Returns:
- true if authentication succeeds
- Throws:
XWSSecurityException
authenticate
public boolean authenticate(javax.security.auth.Subject callerSubject,
java.lang.String username,
java.lang.String passwordDigest,
java.lang.String nonce,
java.lang.String created)
throws XWSSecurityException
- Overrides:
authenticate in class RealmAuthenticationAdapter
- Parameters:
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 UsernameToken
- Returns:
- true if authentication succeeds
- Throws:
XWSSecurityException - if there is an authentication failure
loadGFHandler
protected javax.security.auth.callback.CallbackHandler loadGFHandler()
Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.