Class PasswordCallback

java.lang.Object
com.sun.xml.wss.impl.callback.XWSSCallback
com.sun.xml.wss.impl.callback.PasswordCallback
All Implemented Interfaces:
Callback

public class PasswordCallback extends XWSSCallback implements Callback
This Callback should be handled if the password for the username token needs to be supplied at run-time.
Author:
XWS-Security Team
  • Constructor Details

    • PasswordCallback

      public PasswordCallback()
  • Method Details

    • setPassword

      public void setPassword(String password)
      Set the Password.
      Parameters:
      password - java.lang.String representing the password.
    • getPassword

      public String getPassword()
      Get the password stored in this request.
      Returns:
      java.lang.String representing the password.