org.deegree.portal.owswatch.configs
Class User
java.lang.Object
org.deegree.portal.owswatch.configs.User
- All Implemented Interfaces:
- Serializable
public class User
- extends Object
- implements Serializable
A Class to hold the information of an owsWatch user
- Version:
- $Revision: 20271 $, $Date: 2009-10-21 13:07:15 +0200 (Wed, 21 Oct 2009) $
- Author:
- Moataz Elmasry, last edited by: $Author: jmays $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User(String username,
String password,
String firstName,
String lastName,
String email,
List<String> roles)
- Parameters:
username
- password
- firstName
- lastName
- email
- The email will be used to send error emails in case a service failedroles
- indicates whether a user is allowed to add/edit services, or just watch them
getEmail
public String getEmail()
- Returns:
- String
getFirstName
public String getFirstName()
- Returns:
- String
getLastName
public String getLastName()
- Returns:
- String
getPassword
public String getPassword()
- Returns:
- String
getRoles
public List<String> getRoles()
- Returns:
- List
getUsername
public String getUsername()
- Returns:
- String
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org