Class 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> &lt;complexType name="User"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/security}Identity"&gt; &lt;sequence&gt; &lt;element name="firstname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="lastname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="credentialsExpired" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • 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 is String
        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 is String
        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 is String
      • 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:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object