use of org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver 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));
}
use of org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver in project cas by apereo.
the class ElectronicFenceConfiguration method configureAuditTrailRecordResolutionPlan.
@Override
public void configureAuditTrailRecordResolutionPlan(final AuditTrailRecordResolutionPlan plan) {
plan.registerAuditActionResolver("ADAPTIVE_RISKY_AUTHENTICATION_ACTION_RESOLVER", new DefaultAuditActionResolver());
plan.registerAuditResourceResolver("ADAPTIVE_RISKY_AUTHENTICATION_RESOURCE_RESOLVER", returnValueResourceResolver);
}
use of org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver in project cas by apereo.
the class SamlIdPConfiguration method configureAuditTrailRecordResolutionPlan.
@Override
public void configureAuditTrailRecordResolutionPlan(final AuditTrailRecordResolutionPlan plan) {
plan.registerAuditResourceResolver("SAML2_RESPONSE_RESOURCE_RESOLVER", new SamlResponseAuditResourceResolver());
plan.registerAuditActionResolver("SAML2_RESPONSE_ACTION_RESOLVER", new DefaultAuditActionResolver("_CREATED", "_FAILED"));
plan.registerAuditResourceResolver("SAML2_REQUEST_RESOURCE_RESOLVER", new SamlRequestAuditResourceResolver());
plan.registerAuditActionResolver("SAML2_REQUEST_ACTION_RESOLVER", new DefaultAuditActionResolver("_CREATED", "_FAILED"));
}
use of org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver in project cas by apereo.
the class SurrogateAuthenticationAuditConfiguration method configureAuditTrailRecordResolutionPlan.
@Override
public void configureAuditTrailRecordResolutionPlan(final AuditTrailRecordResolutionPlan plan) {
final AuditActionResolver actionResolver = new DefaultAuditActionResolver("_TRIGGERED", StringUtils.EMPTY);
plan.registerAuditActionResolver("SURROGATE_AUTHENTICATION_ELIGIBILITY_VERIFICATION_ACTION_RESOLVER", actionResolver);
plan.registerAuditResourceResolver("SURROGATE_AUTHENTICATION_ELIGIBILITY_VERIFICATION_RESOURCE_RESOLVER", surrogateEligibilityVerificationAuditResourceResolver());
}
use of org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver in project cas by apereo.
the class CasCoreAuditConfiguration method auditActionResolverMap.
@Bean
public Map<String, AuditActionResolver> auditActionResolverMap() {
final Map<String, AuditActionResolver> map = new HashMap<>();
final AuditActionResolver resolver = authenticationActionResolver();
map.put("AUTHENTICATION_RESOLVER", resolver);
map.put("SAVE_SERVICE_ACTION_RESOLVER", resolver);
map.put("CHANGE_PASSWORD_ACTION_RESOLVER", resolver);
final AuditActionResolver defResolver = new DefaultAuditActionResolver();
map.put("DESTROY_TICKET_GRANTING_TICKET_RESOLVER", defResolver);
map.put("DESTROY_PROXY_GRANTING_TICKET_RESOLVER", defResolver);
final AuditActionResolver cResolver = ticketCreationActionResolver();
map.put("CREATE_PROXY_GRANTING_TICKET_RESOLVER", cResolver);
map.put("GRANT_SERVICE_TICKET_RESOLVER", cResolver);
map.put("GRANT_PROXY_TICKET_RESOLVER", cResolver);
map.put("CREATE_TICKET_GRANTING_TICKET_RESOLVER", cResolver);
map.put("TRUSTED_AUTHENTICATION_ACTION_RESOLVER", cResolver);
map.put("AUTHENTICATION_EVENT_ACTION_RESOLVER", new DefaultAuditActionResolver("_TRIGGERED", ""));
final AuditActionResolver adResolver = new DefaultAuditActionResolver();
map.put("ADAPTIVE_RISKY_AUTHENTICATION_ACTION_RESOLVER", adResolver);
map.put("VALIDATE_SERVICE_TICKET_RESOLVER", ticketValidationActionResolver());
return map;
}
Aggregations