Style Intelligence v12.0

inetsoft.sree.security
Class FSUser

java.lang.Object
  extended by inetsoft.uql.util.AbstractIdentity
      extended by inetsoft.sree.security.User
          extended by inetsoft.sree.security.FSUser
All Implemented Interfaces:
inetsoft.uql.util.Identity, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class FSUser
extends User
implements inetsoft.util.XMLSerializable

This class defines the user.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.sree.security.User
active, alias, emails, groups, locale, name, password, roles
 
Fields inherited from interface inetsoft.uql.util.Identity
GROUP, ROLE, UNKNOWN_USER, USER
 
Constructor Summary
FSUser()
          Constructor.
FSUser(String name)
          Constructor.
FSUser(String name, String[] emails, String[] groups, String[] roles, String locale, String password)
          Constructor.
FSUser(String name, String[] emails, String[] groups, String[] roles, String locale, String password, boolean active)
          Constructor.
FSUser(String name, String[] emails, String[] groups, String[] roles, String locale, String password, boolean active, String alias)
          Constructor.
 
Method Summary
 void parseXML(Element tag)
          Parse xml element representation.
 void setActive(boolean active)
          Set user's active.
 void setAlias(String alias)
          Set the alias of the user.
 void setEmails(String[] emails)
          Set the emails of the user.
 void setGroups(String[] groups)
          Set parent groups.
 void setLocale(String locale)
          Set the locale of the user.
 void setPassword(String password)
          Set user's password.
 void setRoles(String[] roles)
          Set roles assigned to the user.
 void writeXML(PrintWriter writer)
          Write xml element representation to a print writer.
 
Methods inherited from class inetsoft.sree.security.User
clone, create, getAlias, getEmails, getGroups, getLocale, getName, getPassword, getRoles, getType, isActive, isAdministrator, toString
 
Methods inherited from class inetsoft.uql.util.AbstractIdentity
equals, hashCode, isEditable, toIdentifier
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FSUser

public FSUser()
Constructor.


FSUser

public FSUser(String name)
Constructor.


FSUser

public FSUser(String name,
              String[] emails,
              String[] groups,
              String[] roles,
              String locale,
              String password)
Constructor.

Parameters:
name - user's name.
emails - user's emails.
groups - parent groups.
roles - roles assigned to the user.
locale - user's locale.

FSUser

public FSUser(String name,
              String[] emails,
              String[] groups,
              String[] roles,
              String locale,
              String password,
              boolean active)
Constructor.


FSUser

public FSUser(String name,
              String[] emails,
              String[] groups,
              String[] roles,
              String locale,
              String password,
              boolean active,
              String alias)
Constructor.

Method Detail

setPassword

public void setPassword(String password)
Set user's password.


setActive

public void setActive(boolean active)
Set user's active.


setEmails

public void setEmails(String[] emails)
Set the emails of the user.

Parameters:
emails - The emails of the user.

setRoles

public void setRoles(String[] roles)
Set roles assigned to the user.

Parameters:
roles - The roles of the user in.

setGroups

public void setGroups(String[] groups)
Set parent groups.


setLocale

public void setLocale(String locale)
Set the locale of the user.

Parameters:
locale - This user's locale.

setAlias

public void setAlias(String alias)
Set the alias of the user.

Parameters:
alias - This user's alias.

writeXML

public void writeXML(PrintWriter writer)
Write xml element representation to a print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Parameters:
writer - the specified print writer.

parseXML

public void parseXML(Element tag)
              throws Exception
Parse xml element representation.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Parameters:
tag - the specified xml element representation.
Throws:
Exception

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.