use of org.apereo.inspektr.audit.spi.support.SpringWebflowActionExecutionAuditablePrincipalResolver in project cas by apereo.
the class DefaultAuditTrailRecordResolutionPlanTests method verifyOperation.
@Test
public void verifyOperation() {
val plan = new DefaultAuditTrailRecordResolutionPlan();
plan.registerAuditActionResolver("action", new DefaultAuditActionResolver());
plan.registerAuditResourceResolver("resource", new ReturnValueAsStringResourceResolver());
plan.registerAuditPrincipalResolver("principal", new SpringWebflowActionExecutionAuditablePrincipalResolver("key"));
assertFalse(plan.getAuditActionResolvers().isEmpty());
assertFalse(plan.getAuditPrincipalResolvers().isEmpty());
assertFalse(plan.getAuditActionResolvers().isEmpty());
}
Aggregations