|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.security.SRIdentityFinder
public class SRIdentityFinder
SRIdentityFinder, the finder in sree module for identities like User, Group, Role, etc.
| Constructor Summary | |
|---|---|
SRIdentityFinder()
|
|
| Method Summary | |
|---|---|
XPrincipal |
create(inetsoft.uql.util.Identity id)
Create principal for the specified identity. |
String[] |
getGroups(inetsoft.uql.util.Identity identity)
Get the groups for the identity. |
String[] |
getRoles(inetsoft.uql.util.Identity identity)
Get the roles for the identity. |
String[] |
getUserGroups(Principal user)
Get the groups for the user identified by the specified Principal. |
String[] |
getUserRoles(Principal user)
Get the roles for the user identified by the specified Principal. |
String[] |
getUsers()
Get all the users. |
boolean |
isParentGroup(inetsoft.uql.util.Identity identity,
String group)
Return the specified group is the parent group of the identity. |
boolean |
isParentGroup(inetsoft.uql.util.Identity identity,
String group,
SecurityProvider provider)
Return the specified group is the parent group of the identity. |
boolean |
isSecurityExisting()
Check whether security exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SRIdentityFinder()
| Method Detail |
|---|
public String[] getUserRoles(Principal user)
getUserRoles in interface inetsoft.uql.util.XIdentityFinderuser - a Principal object that identifies the user.
public String[] getRoles(inetsoft.uql.util.Identity identity)
public String[] getUserGroups(Principal user)
getUserGroups in interface inetsoft.uql.util.XIdentityFinderuser - a Principal object that identifies the user.
public boolean isParentGroup(inetsoft.uql.util.Identity identity,
String group)
public boolean isParentGroup(inetsoft.uql.util.Identity identity,
String group,
SecurityProvider provider)
public String[] getGroups(inetsoft.uql.util.Identity identity)
public String[] getUsers()
getUsers in interface inetsoft.uql.util.XIdentityFinderpublic XPrincipal create(inetsoft.uql.util.Identity id)
create in interface inetsoft.uql.util.XIdentityFinderpublic boolean isSecurityExisting()
isSecurityExisting in interface inetsoft.uql.util.XIdentityFinder
|
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 | ||||||||