Cumulus4j API
(1.1.0)

org.cumulus4j.keymanager.front.shared
Class UserWithPassword

java.lang.Object
  extended by org.cumulus4j.keymanager.front.shared.User
      extended by org.cumulus4j.keymanager.front.shared.UserWithPassword
All Implemented Interfaces:
Serializable

public class UserWithPassword
extends User

DTO representing a user (with a password).

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
See Also:
Serialized Form

Constructor Summary
UserWithPassword()
           
 
Method Summary
 String getPassword()
          Get the password.
 void setPassword(String password)
          Set the password.
 
Methods inherited from class org.cumulus4j.keymanager.front.shared.User
getUserName, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserWithPassword

public UserWithPassword()
Method Detail

getPassword

public String getPassword()
Get the password. Note: we do not use directly a char array for storing the password (we use a String) because it is not possible to pass a char array via JSON.

Returns:
the password.

setPassword

public void setPassword(String password)
Set the password. Note: we do not use directly a char array for storing the password (we use a String) because it is not possible to pass a char array via JSON.

Parameters:
password - the password.

Cumulus4j API
(1.1.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.