org.ow2.jonas.db.base
Class User

java.lang.Object
  extended by org.ow2.jonas.db.base.User

public class User
extends Object

Class for the representation of a user with username and password.

Author:
Florent Benoit

Constructor Summary
User(String userName, String password)
          Constructor with a specific username and password.
 
Method Summary
 String getPassword()
           
 String getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User(String userName,
            String password)
Constructor with a specific username and password.

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

getPassword

public String getPassword()
Returns:
the password.

getUserName

public String getUserName()
Returns:
the userName.


Copyright © 2010 OW2 Consortium. All Rights Reserved.