Package org.pentaho.platform.security.policy.rolebased

Examples of org.pentaho.platform.security.policy.rolebased.AbstractJcrBackedRoleBindingDao


  }

  protected boolean isAllowed( IRoleAuthorizationPolicyRoleBindingDao roleBindingDao, String logicalRoleName )
    throws RepositoryException {
    if ( roleBindingDao instanceof AbstractJcrBackedRoleBindingDao ) {
      AbstractJcrBackedRoleBindingDao jcrBackedRoleBindingDao = (AbstractJcrBackedRoleBindingDao) roleBindingDao;
      return jcrBackedRoleBindingDao.getBoundLogicalRoleNames( systemSession, getRuntimeRoleNames() ).contains(
        logicalRoleName );
    } else {
      return roleBindingDao.getBoundLogicalRoleNames( getRuntimeRoleNames() ).contains( logicalRoleName );
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.security.policy.rolebased.AbstractJcrBackedRoleBindingDao

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.