Package com.opengamma.security.auditlog

Examples of com.opengamma.security.auditlog.HibernateAuditLogger.flushCache()


      assertEquals(0, logEntries.size());
     
      logger.log("jake", "/Portfolio/XYZ123", "View", true);
      logger.log("jake", "/Portfolio/XYZ345", "Modify", "User has no Modify permission on this portfolio", false);
     
      logger.flushCache();
      logger.flushCache();
     
      logEntries = logger.findAll();
      assertEquals(2, logEntries.size());
     
View Full Code Here


     
      logger.log("jake", "/Portfolio/XYZ123", "View", true);
      logger.log("jake", "/Portfolio/XYZ345", "Modify", "User has no Modify permission on this portfolio", false);
     
      logger.flushCache();
      logger.flushCache();
     
      logEntries = logger.findAll();
      assertEquals(2, logEntries.size());
     
      for (AuditLogEntry entry : logEntries) {
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.