private static AuthenticationPolicy configureAuthenticationPolicy(final BaseAuthenticationPolicy policy,
                                                                      final BaseAuthenticationPolicyProperties properties) {
        return policy.setName(StringUtils.defaultIfBlank(properties.getName(), policy.getClass().getSimpleName()))
            .setOrder(properties.getOrder());
    }
New authentication policy collection.

@param policyProps the policy props
@return the collection
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/CoreAuthenticationUtils.java