public class PentahoBasicAclVoter extends AbstractPentahoAclVoter implements IAclVoter
For example, if the user (sally) belongs to the following roles:
User Id | Role |
---|---|
sally | dev |
mgr |
Role | Access |
---|---|
dev | Execute |
sales | Execute and Subscribe |
sally | Nothing |
PentahoUserOverridesVoter
adminRole
Constructor and Description |
---|
PentahoBasicAclVoter() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
getAuthentication(IPentahoSession session) |
PentahoAclEntry |
getEffectiveAcl(IPentahoSession session,
IAclHolder holder) |
IAclEntry[] |
getEffectiveAcls(IPentahoSession session,
IAclHolder holder) |
boolean |
hasAccess(IPentahoSession session,
IAclHolder holder,
int mask) |
getAdminRole, init, isGranted, isPentahoAdministrator, setAdminRole
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdminRole, isGranted, isPentahoAdministrator, setAdminRole
public org.springframework.security.core.Authentication getAuthentication(IPentahoSession session)
getAuthentication
in class AbstractPentahoAclVoter
public boolean hasAccess(IPentahoSession session, IAclHolder holder, int mask)
public IAclEntry[] getEffectiveAcls(IPentahoSession session, IAclHolder holder)
getEffectiveAcls
in interface IAclVoter
public PentahoAclEntry getEffectiveAcl(IPentahoSession session, IAclHolder holder)
getEffectiveAcl
in interface IAclVoter
Copyright © 2017 Hitachi Vantara. All rights reserved.