Class PentahoAllowAnonymousAclVoter
- java.lang.Object
-
- org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
-
- org.pentaho.platform.engine.security.acls.voter.PentahoBasicAclVoter
-
- org.pentaho.platform.engine.security.acls.voter.PentahoAllowAnonymousAclVoter
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IAclVoter
,org.pentaho.platform.api.engine.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
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
adminRole
-
-
Constructor Summary
Constructors Constructor Description PentahoAllowAnonymousAclVoter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
getAuthentication(org.pentaho.platform.api.engine.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
-
-
-
-
Method Detail
-
getAuthentication
public org.springframework.security.core.Authentication getAuthentication(org.pentaho.platform.api.engine.IPentahoSession session)
- Overrides:
getAuthentication
in classPentahoBasicAclVoter
-
-