default Set<AuthenticationHandler> resolveAuthenticationHandlersBy(final Predicate<AuthenticationHandler> filter) {
        return resolveAuthenticationHandlers().stream().filter(filter).collect(Collectors.toSet());
    }
Gets authentication handlers by a filter.

@param filter the filter
@return the authentication handlers by
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationEventExecutionPlan.java