Examples of audit()


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

Examples of com.sun.enterprise.ee.synchronization.SynchronizationMBean.audit()

            SynchronizationMBean proxy = (SynchronizationMBean)
                MBeanServerProxy.getMBeanServerProxy(
                    SynchronizationMBean.class,
                    new ObjectName(MBEAN_NAME), _connInfo);

            _result = proxy.audit(_requests);           

        } catch (Exception e) {
            String msg = _localStrMgr.getString("fileRetrieveError",
                            _requests[0].getMetaFileName());
            throw new AuditException(msg, e);
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

      }
      catch (PrivilegedActionException e)
      {
        throw new RuntimeException(e);
      }
      ac.audit(ae);
      //Provide default JBoss trace logging
      if(ac !=  defaultContext)
      {
         defaultContext.audit(ae);
      }
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

      }
      catch (PrivilegedActionException e)
      {
        throw new RuntimeException(e);
      }
      ac.audit(ae);
      //Provide default JBoss trace logging
      if(ac !=  defaultContext)
      {
         defaultContext.audit(ae);
      }
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

      }
      catch (PrivilegedActionException e)
      {
        throw new RuntimeException(e);
      }
      ac.audit(ae);
   }
}
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

      }
      catch (PrivilegedActionException e)
      {
        throw new RuntimeException(e);
      }
      ac.audit(ae);
   }
}
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

      }
      catch (PrivilegedActionException e)
      {
        throw new RuntimeException(e);
      }
      ac.audit(ae);
      //Provide default JBoss trace logging
      if(ac !=  defaultContext)
      {
         defaultContext.audit(ae);
      }
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

      }
      catch (PrivilegedActionException e)
      {
        throw new RuntimeException(e);
      }
      ac.audit(ae);
      //Provide default JBoss trace logging
      if(ac !=  defaultContext)
      {
         defaultContext.audit(ae);
      }
View Full Code Here

Examples of org.jboss.security.audit.AuditContext.audit()

/*     */     }
/*     */     catch (PrivilegedActionException e)
/*     */     {
/* 113 */       throw new RuntimeException(e);
/*     */     }
/* 115 */     ac.audit(ae);
/*     */
/* 117 */     if (ac != defaultContext)
/*     */     {
/* 119 */       defaultContext.audit(ae);
/*     */     }
View Full Code Here

Examples of org.jboss.security.audit.AuditManager.audit()

      SecurityContext sc = SecurityAssociationActions.getSecurityContext();
      if (sc != null)
      {
         AuditManager auditManager = sc.getAuditManager();
         if (auditManager != null)
            auditManager.audit(ae);
         else
            log.trace("Audit Manager obtained from Security Context is null");
      }
   }
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.