issuperadministrator = authorizer.isAuthorizedNoLog(admin.getAdminInformation(), "/super_administrator");
issuperadministrator = authorizer.isAuthorizedNoLog(admin, "/super_administrator");
    public AvailableAccessRules(Admin admin, Authorizer authorizer, IRaAdminSessionLocal raadminsession, String[] customaccessrules) throws NamingException, CreateException {         // Initialize      this.raadminsession = raadminsession;        this.authorizer = authorizer;            // Get Global Configuration      GlobalConfiguration globalconfiguration = raadminsession.loadGlobalConfiguration(admin);      enableendentityprofilelimitations = globalconfiguration.getEnableEndEntityProfileLimitations();      usehardtokenissuing = globalconfiguration.getIssueHardwareTokens();      usekeyrecovery = globalconfiguration.getEnableKeyRecovery();                    // Is Admin SuperAdministrator.      try{        issuperadministrator = authorizer.isAuthorizedNoLog(admin.getAdminInformation(), "/super_administrator");      }catch(AuthorizationDeniedException e){        issuperadministrator=false;      }      // Get End Entity Profiles      endentityprofiles = raadminsession.getEndEntityProfileIdToNameMap(admin);            // Get CA:s      authorizedcaids = new HashSet();      authorizedcaids.addAll(authorizer.getAuthorizedCAIds(admin));            this.customaccessrules= customaccessrules;    }