Package mondrian.olap

Examples of mondrian.olap.RoleImpl.grant()


            if(cubeDimKey.equalsIgnoreCase(dimName)) {
              logger.debug("DataSecurityManager::setMondrianRole: dimension found into the cube");
             mondrian.olap.Hierarchy[] hierarchies = dim.getHierarchies();
             if(hierarchies == null || hierarchies.length == 0) {
               if(dimAccess.equalsIgnoreCase("none")) {
                 connRole.grant(dim, Access.NONE);
                 logger.debug("DataSecurityManager::setMondrianRole: setted access.none to the dimension")
               } else {
                 connRole.grant(dim, Access.ALL);
                 logger.debug("DataSecurityManager::setMondrianRole: setted access.all to the dimension");
               }
View Full Code Here


             if(hierarchies == null || hierarchies.length == 0) {
               if(dimAccess.equalsIgnoreCase("none")) {
                 connRole.grant(dim, Access.NONE);
                 logger.debug("DataSecurityManager::setMondrianRole: setted access.none to the dimension")
               } else {
                 connRole.grant(dim, Access.ALL);
                 logger.debug("DataSecurityManager::setMondrianRole: setted access.all to the dimension");
               }
               break;
             } else {
                for (int j = 0; j < hierarchies.length; j++) {
View Full Code Here

                        logger.warn("Using default policy Role.RollupPolicy.FULL");
                        rp = Role.RollupPolicy.FULL;
                      }
                    }
                    logger.debug("DataSecurityManager::setMondrianRole: hierarchy found into the cube");
                    connRole.grant(aHierarchy, Access.CUSTOM, topLev, bottomLev, rp);
                    logger.debug("DataSecurityManager::setMondrianRole: setted access.custom to the hierarchy");
                   }
                }
             }
           }
View Full Code Here

            logger.debug("DataSecurityManager::setMondrianRole: processing member : " + dimMemb);
            List<Id.Segment> membParts = Util.parseIdentifier(dimMemb);
            mondrian.olap.Member member = schemaReader.getMemberByUniqueName(membParts,true);
            logger.debug("DataSecurityManager::setMondrianRole: mondrian member object retrived: " + member);
            if(membAccess.equalsIgnoreCase("none")) {
              connRole.grant(member, Access.NONE)
            logger.debug("DataSecurityManager::setMondrianRole: setted access.none to the member");   
          } else {
            connRole.grant(member, Access.ALL)
            logger.debug("DataSecurityManager::setMondrianRole: setted access.all to the member")
          }
View Full Code Here

            logger.debug("DataSecurityManager::setMondrianRole: mondrian member object retrived: " + member);
            if(membAccess.equalsIgnoreCase("none")) {
              connRole.grant(member, Access.NONE)
            logger.debug("DataSecurityManager::setMondrianRole: setted access.none to the member");   
          } else {
            connRole.grant(member, Access.ALL)
            logger.debug("DataSecurityManager::setMondrianRole: setted access.all to the member")
          }
          }
      }
      logger.debug("DataSecurityManager::setMondrianRole: end setting grant for members of dimensions");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.