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
  • Constructor Details

    • DefaultRealmAuthenticationAdapter

      public DefaultRealmAuthenticationAdapter()
      Creates a new instance of DefaultRealmAuthenticationProvider
  • Method Details

    • authenticate

      public boolean authenticate(Subject callerSubject, String username, String password) throws com.sun.xml.wss.XWSSecurityException
      Specified by:
      authenticate in class RealmAuthenticationAdapter
      Parameters:
      callerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authentication
      username - the username
      password - the password
      Returns:
      true if authentication succeeds
      Throws:
      com.sun.xml.wss.XWSSecurityException - if there is an authentication failure
    • authenticate

      public boolean authenticate(Subject callerSubject, String username, String passwordDigest, String nonce, String created) throws com.sun.xml.wss.XWSSecurityException
      Overrides:
      authenticate in class RealmAuthenticationAdapter
      Parameters:
      callerSubject - the callerSubject should contain the appropriate principal's of the caller after a successful authentication
      username - the username
      passwordDigest - the password-digest
      nonce - a nonce sent by the caller in the UsernameToken
      created - the creation time of the UsernameToken
      Returns:
      true if authentication succeeds
      Throws:
      com.sun.xml.wss.XWSSecurityException - if there is an authentication failure
    • loadGFHandler

      protected CallbackHandler loadGFHandler()