default Principal filter(final Service service,
                             final Principal profile,
                             final RegisteredService registeredService) throws Throwable {
        return filter(service, profile, registeredService, null);
    }
Filter principal.

@param service           the service
@param profile           the profile
@param registeredService the registered service
@return the principal
@throws Throwable the throwable
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/profile/OAuth20ProfileScopeToAttributesFilter.java