Package com.flower.docs.domain.security
Class AuthenticatedUser
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.security.Identity
-
- com.flower.docs.domain.security.User
-
- com.flower.docs.domain.security.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> <complexType> <complexContent> <extension base="{http://flower.com/docs/domain/security}User"> <sequence> <element name="scope" type="{http://flower.com/docs/domain/common}Id"/> <element ref="{http://flower.com/docs/domain/security}Token" minOccurs="0"/> <element name="reservedComponents" type="{http://flower.com/docs/domain/component}ComponentReference" maxOccurs="unbounded" minOccurs="0"/> <element name="delegators" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Id>
delegators
protected java.util.List<ComponentReference>
reservedComponents
protected Id
scope
protected Token
token
-
Fields inherited from class com.flower.docs.domain.security.User
credentialsExpired, firstname, lastname, password
-
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 AuthenticatedUser()
Default no-arg constructor abcAuthenticatedUser(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<Id>
getDelegators()
Gets the value of the delegators property.java.util.List<ComponentReference>
getReservedComponents()
Gets the value of the reservedComponents property.Id
getScope()
Gets the value of the scope property.Token
getToken()
Gets the value of the token property.int
hashCode()
void
setDelegators(java.util.List<Id> value)
void
setReservedComponents(java.util.List<ComponentReference> value)
void
setScope(Id value)
Sets the value of the scope property.void
setToken(Token value)
Sets the value of the token property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.security.User
getFirstname, getLastname, getPassword, isCredentialsExpired, setCredentialsExpired, setFirstname, setLastname, setPassword
-
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
-
scope
protected Id scope
-
token
protected Token token
-
reservedComponents
protected java.util.List<ComponentReference> reservedComponents
-
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
-
setScope
public void setScope(Id value)
Sets the value of the scope property.- Parameters:
value
- allowed object isId
-
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 isToken
-
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 listComponentReference
-
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 listId
-
setReservedComponents
public void setReservedComponents(java.util.List<ComponentReference> value)
-
setDelegators
public void setDelegators(java.util.List<Id> value)
-
-