com.pingidentity.sts.clientapi.authentication
Class UsernameAuthentication

java.lang.Object
  extended by com.pingidentity.sts.clientapi.authentication.UsernameAuthentication
Direct Known Subclasses:
HTTPAuthentication, WSSEAuthentication

public class UsernameAuthentication
extends java.lang.Object

Stores information about requestor with Username authentication.


Constructor Summary
UsernameAuthentication(java.lang.String requestorID, java.lang.String requestorPassword)
          Creates object with username and password
 
Method Summary
 java.lang.String getName()
          Retrieves username
 java.lang.String getPassword()
          Retrieves password
 void setName(java.lang.String requestorID)
          Sets the username
 void setPassword(java.lang.String requestorPassword)
          Sets password
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameAuthentication

public UsernameAuthentication(java.lang.String requestorID,
                              java.lang.String requestorPassword)
Creates object with username and password

Parameters:
requestorID - - name
requestorPassword - - password
Method Detail

getName

public java.lang.String getName()
Retrieves username

Returns:
the Username

setName

public void setName(java.lang.String requestorID)
Sets the username

Parameters:
requestorID - the user name

getPassword

public java.lang.String getPassword()
Retrieves password

Returns:
the password

setPassword

public void setPassword(java.lang.String requestorPassword)
Sets password

Parameters:
requestorPassword - the password


Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.