com.sun.xml.wss.impl.callback
Class PasswordCallback

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.XWSSCallback
      extended by 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 Summary
PasswordCallback()
           
 
Method Summary
 String getPassword()
          Get the password stored in this request.
 void setPassword(String password)
          Set the Password.
 
Methods inherited from class com.sun.xml.wss.impl.callback.XWSSCallback
getRuntimeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordCallback

public PasswordCallback()
Method Detail

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.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.