try{ logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES,"Error removing accessrule : " + resource + " from administratorgroup " + admingroupname + "."); }catch( RemoteException re){}
try{ logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES,"Error removing accessrule : " + resource + " from administratorgroup " + admingroupname + "."); }catch( RemoteException re){ error("Can't write log: ",re); }
    public void removeAccessRule(Admin admin, String admingroupname, String resource){      try{        (admingrouphome.findByPrimaryKey(admingroupname)).removeAccessRule(resource);        authorization.buildAccessTree(getAdminGroups(admin));        logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES,"Removed accessrule : " + resource + " from administratorgroup " + admingroupname + ".");              }catch(Exception e){        try{            logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES,"Error removing accessrule : " + resource + " from administratorgroup " + admingroupname + ".");            }catch( RemoteException re){}              }    } // removeAccessRule