|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
public abstract class AbstractPentahoAclVoter
| Constructor Summary | |
|---|---|
AbstractPentahoAclVoter()
|
|
| Method Summary | |
|---|---|
GrantedAuthority |
getAdminRole()
Gets the role used to determine whether someone is the system-manager. |
abstract Authentication |
getAuthentication(IPentahoSession session)
|
void |
init(IPentahoSession session)
Simplifier for initialization of objects from the PentahoSystem object |
boolean |
isGranted(IPentahoSession session,
GrantedAuthority role)
Returns true if the user is a member of the specified role |
boolean |
isPentahoAdministrator(IPentahoSession session)
Determines whether the user is a super-manager of Pentaho. |
void |
setAdminRole(GrantedAuthority value)
Sets the role used to determine whether someone is the system-manager. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.pentaho.platform.api.engine.IAclVoter |
|---|
getEffectiveAcl, getEffectiveAcls, hasAccess |
| Constructor Detail |
|---|
public AbstractPentahoAclVoter()
| Method Detail |
|---|
public abstract Authentication getAuthentication(IPentahoSession session)
public GrantedAuthority getAdminRole()
IAclVoter
getAdminRole in interface IAclVoterGrantedAuthority of the role someone must be in to
be the system manager.public void setAdminRole(GrantedAuthority value)
IAclVoter
setAdminRole in interface IAclVotervalue - The GrantedAuthority which someone must be a
considered a system managerpublic void init(IPentahoSession session)
IPentahoInitializer
init in interface IPentahoInitializerpublic boolean isPentahoAdministrator(IPentahoSession session)
IAclVoter
isPentahoAdministrator in interface IAclVotertrue if the user is a super-manager
public boolean isGranted(IPentahoSession session,
GrantedAuthority role)
IAclVoter
isGranted in interface IAclVotertrue if the user is a member of the specified role
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||