org.pentaho.platform.engine.security.acls.voter
Class PentahoAllowAnonymousAclVoter

java.lang.Object
  extended by org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
      extended by org.pentaho.platform.engine.security.acls.voter.PentahoBasicAclVoter
          extended by org.pentaho.platform.engine.security.acls.voter.PentahoAllowAnonymousAclVoter
All Implemented Interfaces:
IAclVoter, IPentahoInitializer

public class PentahoAllowAnonymousAclVoter
extends PentahoBasicAclVoter

Extends the BasicAclVoter, but overrides the getAuthentication() method to allow anonymous sessions. This is the simplest case to add to other voters.

Author:
mbatchel

Constructor Summary
PentahoAllowAnonymousAclVoter()
           
 
Method Summary
 Authentication getAuthentication(IPentahoSession session)
           
 
Methods inherited from class org.pentaho.platform.engine.security.acls.voter.PentahoBasicAclVoter
getEffectiveAcl, getEffectiveAcls, hasAccess
 
Methods inherited from class org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
getAdminRole, init, isGranted, isPentahoAdministrator, setAdminRole
 
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
getAdminRole, isGranted, isPentahoAdministrator, setAdminRole
 

Constructor Detail

PentahoAllowAnonymousAclVoter

public PentahoAllowAnonymousAclVoter()
Method Detail

getAuthentication

public Authentication getAuthentication(IPentahoSession session)
Overrides:
getAuthentication in class PentahoBasicAclVoter