|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.util.AbstractIdentity
inetsoft.sree.security.User
public class User
This class defines the user.
| Field Summary | |
|---|---|
protected boolean |
active
|
protected String |
alias
|
protected String[] |
emails
|
protected String[] |
groups
|
protected String |
locale
|
protected String |
name
|
protected String |
password
|
protected String[] |
roles
|
| Fields inherited from interface inetsoft.uql.util.Identity |
|---|
GROUP, ROLE, UNKNOWN_USER, USER |
| Constructor Summary | |
|---|---|
User()
Constructor. |
|
User(String name)
Constructor. |
|
User(String name,
String[] emails,
String[] groups,
String[] roles,
String locale,
String password)
Constructor. |
|
User(String name,
String[] emails,
String[] groups,
String[] roles,
String locale,
String password,
boolean active)
Constructor. |
|
User(String name,
String[] emails,
String[] groups,
String[] roles,
String locale,
String password,
boolean active,
String alias)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the object. |
XPrincipal |
create()
Create one user. |
String |
getAlias()
Get user's alias. |
String[] |
getEmails()
Get the emails of the user. |
String[] |
getGroups()
Get parent groups. |
String |
getLocale()
Get the locale of the user. |
String |
getName()
Get the name of the user. |
String |
getPassword()
Get user's password. |
String[] |
getRoles()
Get roles assigned to the user. |
int |
getType()
Get the type of the identity. |
boolean |
isActive()
Get the active of the user. |
boolean |
isAdministrator()
Check if this user is an administrator. |
String |
toString()
Get a string representation of this object. |
| 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 |
| Field Detail |
|---|
protected String name
protected String[] emails
protected String[] roles
protected String[] groups
protected String locale
protected String password
protected boolean active
protected String alias
| Constructor Detail |
|---|
public User()
public User(String name)
public User(String name,
String[] emails,
String[] groups,
String[] roles,
String locale,
String password)
name - user's name.emails - user's emails.groups - parent groups.roles - roles assigned to the user.locale - user's locale.
public User(String name,
String[] emails,
String[] groups,
String[] roles,
String locale,
String password,
boolean active)
public User(String name,
String[] emails,
String[] groups,
String[] roles,
String locale,
String password,
boolean active,
String alias)
| Method Detail |
|---|
public String getName()
public boolean isActive()
public String[] getEmails()
public String[] getRoles()
getRoles in interface inetsoft.uql.util.IdentitygetRoles in class inetsoft.uql.util.AbstractIdentitypublic String[] getGroups()
getGroups in interface inetsoft.uql.util.IdentitygetGroups in class inetsoft.uql.util.AbstractIdentitypublic String getLocale()
public String getPassword()
public String getAlias()
public boolean isAdministrator()
public Object clone()
clone in interface inetsoft.uql.util.Identityclone in class inetsoft.uql.util.AbstractIdentitypublic int getType()
public XPrincipal create()
public String toString()
toString in class inetsoft.uql.util.AbstractIdentity
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||