Package ch.qos.logback.audit.client

Examples of ch.qos.logback.audit.client.AuditorFacade.audit()


    // equal to the name of permission passed as argument
    AuditorFacade auditorFacade = new AuditorFacade(user.getName(),
        ADD_PERMISSION_VERB, permission.getName());
    try {
      // send the AuditEvent through an appender (usually to a server)
      auditorFacade.audit();
    } catch (AuditException e) {
      // if an AuditException occurs, rethrow it as
      // an application failure (AccessException)
      throw new AccessException("Audit failure", e);
    }
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.