com.sun.xml.wss.impl.callback
Class PasswordValidationCallback.PlainTextPasswordRequest

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.PasswordValidationCallback.PlainTextPasswordRequest
All Implemented Interfaces:
PasswordValidationCallback.Request
Enclosing class:
PasswordValidationCallback

public static class PasswordValidationCallback.PlainTextPasswordRequest
extends java.lang.Object
implements PasswordValidationCallback.Request

Represents a validation request when the password in the username token is in plain text.


Constructor Summary
PasswordValidationCallback.PlainTextPasswordRequest(java.lang.String userName, java.lang.String password)
          Constructor.
 
Method Summary
 java.lang.String getPassword()
          Get the password stored in the Request.
 java.lang.String getUsername()
          Get the username stored in this Request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordValidationCallback.PlainTextPasswordRequest

public PasswordValidationCallback.PlainTextPasswordRequest(java.lang.String userName,
                                                           java.lang.String password)
Constructor.

Parameters:
userName - java.lang.String representation of User name.
password - java.lang.String representation of password.
Method Detail

getUsername

public java.lang.String getUsername()
Get the username stored in this Request.

Returns:
java.lang.String representation of username.

getPassword

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

Returns:
java.lang.String representation of password.


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