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:
javax.security.auth.callback.Callback

public class PasswordCallback
extends XWSSCallback
implements javax.security.auth.callback.Callback

This Callback should be handled if the password for the username token needs to be supplied at run-time.


Constructor Summary
PasswordCallback()
           
 
Method Summary
 java.lang.String getPassword()
          Get the password stored in this request.
 void setPassword(java.lang.String password)
          Set the Password.
 
Methods inherited from class com.sun.xml.wss.impl.callback.XWSSCallback
getRuntimeProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordCallback

public PasswordCallback()
Method Detail

setPassword

public void setPassword(java.lang.String password)
Set the Password.

Parameters:
password - java.lang.String representing the password.

getPassword

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

Returns:
java.lang.String representing the password.


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.