|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter org.pentaho.platform.engine.security.acls.voter.PentahoAllowAllAclVoter
public class PentahoAllowAllAclVoter
Constructor Summary | |
---|---|
PentahoAllowAllAclVoter()
|
Method Summary | |
---|---|
org.springframework.security.Authentication |
getAuthentication(IPentahoSession session)
|
IPentahoAclEntry |
getEffectiveAcl(IPentahoSession session,
IAclHolder holder)
This returns the effective ACL for the piece of content for the given user. |
org.springframework.security.acl.AclEntry[] |
getEffectiveAcls(IPentahoSession session,
IAclHolder holder)
Returns an array of the authorities from the IAclHolder that apply to the provided authentication object. |
boolean |
hasAccess(IPentahoSession session,
IAclHolder holder,
int mask)
Determines whether the user (auth) has the requested authority (mask) based on the list of effective authorities from the holder. |
boolean |
isGranted(IPentahoSession session,
org.springframework.security.GrantedAuthority auth)
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. |
Methods inherited from class org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter |
---|
getAdminRole, init, setAdminRole |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PentahoAllowAllAclVoter()
Method Detail |
---|
public boolean hasAccess(IPentahoSession session, IAclHolder holder, int mask)
IAclVoter
public org.springframework.security.Authentication getAuthentication(IPentahoSession session)
getAuthentication
in class AbstractPentahoAclVoter
public org.springframework.security.acl.AclEntry[] getEffectiveAcls(IPentahoSession session, IAclHolder holder)
IAclVoter
public IPentahoAclEntry getEffectiveAcl(IPentahoSession session, IAclHolder holder)
IAclVoter
null
. If the user has no
access to the object, it needs to return a PentahoAclEntry with
nothing (mask of 0).
public boolean isPentahoAdministrator(IPentahoSession session)
IAclVoter
isPentahoAdministrator
in interface IAclVoter
isPentahoAdministrator
in class AbstractPentahoAclVoter
true
if the user is a super-managerpublic boolean isGranted(IPentahoSession session, org.springframework.security.GrantedAuthority auth)
IAclVoter
isGranted
in interface IAclVoter
isGranted
in class AbstractPentahoAclVoter
true
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 |