if(!profileauthproxy.getEndEntityProfileAuthorization(admin, data.getEndEntityProfileId(),EndEntityProfileAuthorizationProxy.REVOKE_RIGHTS)){
if(!profileauthproxy.getEndEntityProfileAuthorization(admin, data.getEndEntityProfileId(),EndEntityProfileAuthorizationProxy.REVOKE_RIGHTS, LogEntry.MODULE_RA)){
    public void revokeUser(Admin admin, String username, int reason) throws AuthorizationDeniedException,FinderException, RemoteException{        debug(">revokeUser("+username+")");        UserDataPK pk = new UserDataPK(username);        UserDataLocal data;        try {            data = home.findByPrimaryKey(pk);        } catch (ObjectNotFoundException oe) {            throw new EJBException(oe);                    }                         if(globalconfiguration.getEnableEndEntityProfileLimitations()){           if(!profileauthproxy.getEndEntityProfileAuthorization(admin, data.getEndEntityProfileId(),EndEntityProfileAuthorizationProxy.REVOKE_RIGHTS)){            logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(),username, null, LogEntry.EVENT_ERROR_REVOKEDENDENTITY,"Administrator not authorized");                       throw new AuthorizationDeniedException("Not authorized to revoke user : " + username + ".");          }        }          setUserStatus(admin, username, UserDataRemote.STATUS_REVOKED);        certificatesession.setRevokeStatus(admin, username, reason);        logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(),username, null, LogEntry.EVENT_INFO_REVOKEDENDENTITY,"");            debug("<revokeUser()");    } // revokeUser