Class AuthenticatedUser

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthenticatedUser
    extends User
    implements java.io.Serializable
    An identity of a user which is authenticated against a Scope <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/security}User"&gt; &lt;sequence&gt; &lt;element name="scope" type="{http://flower.com/docs/domain/common}Id"/&gt; &lt;element ref="{http://flower.com/docs/domain/security}Token" minOccurs="0"/&gt; &lt;element name="reservedComponents" type="{http://flower.com/docs/domain/component}ComponentReference" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="delegators" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • scope

        protected Id scope
      • token

        protected Token token
      • delegators

        protected java.util.List<Id> delegators
    • Constructor Detail

      • AuthenticatedUser

        public AuthenticatedUser()
        Default no-arg constructor abc
      • AuthenticatedUser

        public AuthenticatedUser​(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,
                                 Id scope,
                                 Token token,
                                 java.util.List<ComponentReference> reservedComponents,
                                 java.util.List<Id> delegators)
        Fully-initialising value constructor
    • Method Detail

      • getScope

        public Id getScope()
        Gets the value of the scope property.
        Returns:
        possible object is Id
      • setScope

        public void setScope​(Id value)
        Sets the value of the scope property.
        Parameters:
        value - allowed object is Id
      • getToken

        public Token getToken()
        Gets the value of the token property.
        Returns:
        possible object is Token
      • setToken

        public void setToken​(Token value)
        Sets the value of the token property.
        Parameters:
        value - allowed object is Token
      • getReservedComponents

        public java.util.List<ComponentReference> getReservedComponents()
        Gets the value of the reservedComponents property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the reservedComponents property. <p> For example, to add a new item, do as follows: <pre> getReservedComponents().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list ComponentReference
      • getDelegators

        public java.util.List<Id> getDelegators()
        Gets the value of the delegators property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the delegators property. <p> For example, to add a new item, do as follows: <pre> getDelegators().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Id
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class User
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class User
      • equals

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

        public void setReservedComponents​(java.util.List<ComponentReference> value)
      • setDelegators

        public void setDelegators​(java.util.List<Id> value)