Package com.sun.xml.wss.impl.misc
Class DefaultRealmAuthenticationAdapter
java.lang.Object
com.sun.xml.wss.RealmAuthenticationAdapter
com.sun.xml.wss.impl.misc.DefaultRealmAuthenticationAdapter
- Author:
- kumar jayanti
-
Field Summary
Fields inherited from class com.sun.xml.wss.RealmAuthenticationAdapter
UsernameAuthenticator -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of DefaultRealmAuthenticationProvider -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(Subject callerSubject, String username, String password) booleanauthenticate(Subject callerSubject, String username, String passwordDigest, String nonce, String created) protected CallbackHandlerMethods inherited from class com.sun.xml.wss.RealmAuthenticationAdapter
authenticate, authenticate, newInstance
-
Constructor Details
-
DefaultRealmAuthenticationAdapter
public DefaultRealmAuthenticationAdapter()Creates a new instance of DefaultRealmAuthenticationProvider
-
-
Method Details
-
authenticate
public boolean authenticate(Subject callerSubject, String username, String password) throws XWSSecurityException - Specified by:
authenticatein classRealmAuthenticationAdapter- 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- if there is an authentication failure
-
authenticate
public boolean authenticate(Subject callerSubject, String username, String passwordDigest, String nonce, String created) throws XWSSecurityException - Overrides:
authenticatein classRealmAuthenticationAdapter- 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
-