Package com.flower.docs.domain.security
Class User
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.security.Identity
-
- com.flower.docs.domain.security.User
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AuthenticatedUser
public class User extends Identity implements java.io.Serializable
An identity of a user <p>Java class for User complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="User"> <complexContent> <extension base="{http://flower.com/docs/domain/security}Identity"> <sequence> <element name="firstname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="lastname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="credentialsExpired" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancredentialsExpiredDetermines if the credentials of the user are expired or not.protected java.lang.StringfirstnameThe first name (or given name) of the userprotected java.lang.StringlastnameThe last name (or surname) of the userprotected java.lang.Stringpassword-
Fields inherited from class com.flower.docs.domain.security.Identity
attributes, displayName, groups, mail, profiles
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description User()Default no-arg constructor abcUser(Id id, java.lang.String displayName, java.lang.String mail, java.util.List<Id> groups, java.util.List<Id> profiles, java.util.List<IdentityAttribute> attributes, java.lang.String firstname, java.lang.String lastname, java.lang.String password, boolean credentialsExpired)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetFirstname()Gets the value of the firstname property.java.lang.StringgetLastname()Gets the value of the lastname property.java.lang.StringgetPassword()Gets the value of the password property.inthashCode()booleanisCredentialsExpired()Gets the value of the credentialsExpired property.voidsetCredentialsExpired(boolean value)Sets the value of the credentialsExpired property.voidsetFirstname(java.lang.String value)Sets the value of the firstname property.voidsetLastname(java.lang.String value)Sets the value of the lastname property.voidsetPassword(java.lang.String value)Sets the value of the password property.java.lang.StringtoString()-
Methods inherited from class com.flower.docs.domain.security.Identity
getAttributes, getDisplayName, getGroups, getMail, getProfiles, setAttributes, setDisplayName, setGroups, setMail, setProfiles
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
firstname
protected java.lang.String firstname
The first name (or given name) of the user
-
lastname
protected java.lang.String lastname
The last name (or surname) of the user
-
password
protected java.lang.String password
-
credentialsExpired
protected boolean credentialsExpired
Determines if the credentials of the user are expired or not.
-
-
Constructor Detail
-
User
public User()
Default no-arg constructor abc
-
User
public User(Id id, java.lang.String displayName, java.lang.String mail, java.util.List<Id> groups, java.util.List<Id> profiles, java.util.List<IdentityAttribute> attributes, java.lang.String firstname, java.lang.String lastname, java.lang.String password, boolean credentialsExpired)
Fully-initialising value constructor
-
-
Method Detail
-
getFirstname
public java.lang.String getFirstname()
Gets the value of the firstname property. <p> The first name (or given name) of the user- Returns:
- possible object is
String
-
setFirstname
public void setFirstname(java.lang.String value)
Sets the value of the firstname property.- Parameters:
value- allowed object isString- See Also:
getFirstname()
-
getLastname
public java.lang.String getLastname()
Gets the value of the lastname property. <p> The last name (or surname) of the user- Returns:
- possible object is
String
-
setLastname
public void setLastname(java.lang.String value)
Sets the value of the lastname property.- Parameters:
value- allowed object isString- See Also:
getLastname()
-
getPassword
public java.lang.String getPassword()
Gets the value of the password property.- Returns:
- possible object is
String
-
setPassword
public void setPassword(java.lang.String value)
Sets the value of the password property.- Parameters:
value- allowed object isString
-
isCredentialsExpired
public boolean isCredentialsExpired()
Gets the value of the credentialsExpired property. <p> Determines if the credentials of the user are expired or not.
-
setCredentialsExpired
public void setCredentialsExpired(boolean value)
Sets the value of the credentialsExpired property.- See Also:
isCredentialsExpired()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-