edu.wisc.my.webproxy.beans.http
Class ICredentials

java.lang.Object
  extended by edu.wisc.my.webproxy.beans.http.ICredentials
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NtCredentials

public class ICredentials
extends Object
implements Serializable

Represents a authentication credentials that is passed to remote application. This only applies to the Basic, Digest and NTLM forms of authentication.

Version:
$Id: ICredentials.java 20993 2010-07-02 19:32:47Z edalquist $
Author:
nramzan
See Also:
Serialized Form

Constructor Summary
ICredentials()
          Default constructor.
ICredentials(String userName, String password)
          The constructor with the username and password arguments.
 
Method Summary
 String getPassword()
          Returns the password attribute.
 String getUserName()
          Returns the username attribute.
 void setPassword(String password)
           
 void setUserName(String userName)
          User name property setter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICredentials

public ICredentials()
Default constructor.


ICredentials

public ICredentials(String userName,
                    String password)
The constructor with the username and password arguments.

Parameters:
userName - the user name
password - the password
Method Detail

getPassword

public String getPassword()
Returns the password attribute.

Returns:
the password
See Also:
setPassword(String)

setPassword

public void setPassword(String password)

getUserName

public String getUserName()
Returns the username attribute.

Returns:
the userName
See Also:
setUserName(String)

setUserName

public void setUserName(String userName)
User name property setter. Username may not be null.

Parameters:
userName -
See Also:
getUserName()


Copyright © 2010 Jasig. All Rights Reserved.