com.anwrt.anycontent.authentication
Class Credentials

java.lang.Object
  extended bycom.anwrt.anycontent.authentication.Credentials

public class Credentials
extends java.lang.Object

Credentials represents the caracteristics of a user needed to log him


Constructor Summary
Credentials(java.lang.String login, java.lang.String password)
          Create a credentials
 
Method Summary
 java.lang.String getLogin()
          Returns the login.
 java.lang.String getPassword()
          Returns the password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials(java.lang.String login,
                   java.lang.String password)
Create a credentials

Parameters:
login - Login of the user
password - Password associated to the login
Method Detail

getLogin

public java.lang.String getLogin()
Returns the login. Can not be null.

Returns:
the login

getPassword

public java.lang.String getPassword()
Returns the password. Can not be null.

Returns:
the password


Copyright © 2006 Anyware Technologies. All Rights Reserved.