use of org.apereo.cas.support.oauth.web.audit.OAuth20UserProfileDataAuditResourceResolver in project cas by apereo.
the class CasOAuthConfiguration method configureAuditTrailRecordResolutionPlan.
@Override
public void configureAuditTrailRecordResolutionPlan(final AuditTrailRecordResolutionPlan plan) {
plan.registerAuditActionResolver("OAUTH2_USER_PROFILE_DATA_ACTION_RESOLVER", new DefaultAuditActionResolver("_CREATED", "_FAILED"));
plan.registerAuditResourceResolver("OAUTH2_USER_PROFILE_DATA_RESOURCE_RESOLVER", new OAuth20UserProfileDataAuditResourceResolver());
plan.registerAuditActionResolver("OAUTH2_ACCESS_TOKEN_REQUEST_ACTION_RESOLVER", new DefaultAuditActionResolver("_CREATED", "_FAILED"));
plan.registerAuditResourceResolver("OAUTH2_ACCESS_TOKEN_REQUEST_RESOURCE_RESOLVER", new AccessTokenGrantRequestAuditResourceResolver());
}
Aggregations