use of org.apereo.cas.rest.audit.RestResponseEntityAuditResourceResolver in project cas by apereo.
the class CasRestConfiguration method configureAuditTrailRecordResolutionPlan.
@Override
public void configureAuditTrailRecordResolutionPlan(final AuditTrailRecordResolutionPlan plan) {
plan.registerAuditActionResolver("REST_API_TICKET_GRANTING_TICKET_ACTION_RESOLVER", new DefaultAuditActionResolver("_CREATED", "_FAILED"));
plan.registerAuditResourceResolver("REST_API_TICKET_GRANTING_TICKET_RESOURCE_RESOLVER", new RestResponseEntityAuditResourceResolver(false));
plan.registerAuditActionResolver("REST_API_SERVICE_TICKET_ACTION_RESOLVER", new DefaultAuditActionResolver("_CREATED", "_FAILED"));
plan.registerAuditResourceResolver("REST_API_SERVICE_TICKET_RESOURCE_RESOLVER", new RestResponseEntityAuditResourceResolver(true));
}
Aggregations