de.smartics.ci.comm
Class Credentials

Package class diagram package Credentials
java.lang.Object
  extended by de.smartics.ci.comm.Credentials
Direct Known Subclasses:
ProxyCredentials

public class Credentials
     
     
extends Object

The credentials that can be used to authenticate.


Constructor Summary
Credentials(String userName, String password)
          Constructor.
 
Method Summary
 String getPassword()
          Returns the password for the user.
 String getUserName()
          Returns the name of the user to use to get access.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials(String userName,
                   String password)
Constructor.

Parameters:
userName - the name of the user to use to get access.
password - the password for the user.
Method Detail

getUserName

public String getUserName()
Returns the name of the user to use to get access.

Returns:
the name of the user to use to get access.

getPassword

public String getPassword()
Returns the password for the user.

Returns:
the password for the user.


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.