public class RepositoryAccessVoterManager extends Object implements org.pentaho.platform.api.repository2.unified.IRepositoryAccessVoterManager
Constructor and Description |
---|
RepositoryAccessVoterManager(org.pentaho.platform.api.engine.IAuthorizationPolicy authorizationPolicy,
String repositoryAdminUsername) |
RepositoryAccessVoterManager(List<org.pentaho.platform.api.repository2.unified.IRepositoryAccessVoter> voters,
org.pentaho.platform.api.engine.IAuthorizationPolicy authorizationPolicy,
String repositoryAdminUsername) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasAccess(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
org.pentaho.platform.api.repository2.unified.RepositoryFilePermission operation,
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl repositoryFileAcl,
org.pentaho.platform.api.engine.IPentahoSession session) |
void |
registerVoter(org.pentaho.platform.api.repository2.unified.IRepositoryAccessVoter voter) |
public RepositoryAccessVoterManager(org.pentaho.platform.api.engine.IAuthorizationPolicy authorizationPolicy, String repositoryAdminUsername)
public void registerVoter(org.pentaho.platform.api.repository2.unified.IRepositoryAccessVoter voter)
registerVoter
in interface org.pentaho.platform.api.repository2.unified.IRepositoryAccessVoterManager
public boolean hasAccess(org.pentaho.platform.api.repository2.unified.RepositoryFile file, org.pentaho.platform.api.repository2.unified.RepositoryFilePermission operation, org.pentaho.platform.api.repository2.unified.RepositoryFileAcl repositoryFileAcl, org.pentaho.platform.api.engine.IPentahoSession session)
hasAccess
in interface org.pentaho.platform.api.repository2.unified.IRepositoryAccessVoterManager
Copyright © 2019 Hitachi Vantara. All rights reserved.