Search in sources :

Example 1 with AccessTokenGrantRequestAuditResourceResolver

use of org.apereo.cas.support.oauth.web.audit.AccessTokenGrantRequestAuditResourceResolver 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());
}
Also used : AccessTokenGrantRequestAuditResourceResolver(org.apereo.cas.support.oauth.web.audit.AccessTokenGrantRequestAuditResourceResolver) DefaultAuditActionResolver(org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver) OAuth20UserProfileDataAuditResourceResolver(org.apereo.cas.support.oauth.web.audit.OAuth20UserProfileDataAuditResourceResolver)

Aggregations

AccessTokenGrantRequestAuditResourceResolver (org.apereo.cas.support.oauth.web.audit.AccessTokenGrantRequestAuditResourceResolver)1 OAuth20UserProfileDataAuditResourceResolver (org.apereo.cas.support.oauth.web.audit.OAuth20UserProfileDataAuditResourceResolver)1 DefaultAuditActionResolver (org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver)1