Summary

We have quite a few places where we are resolving APIs. OAuth2AuthorizationRequestResolver, SAML is adding a resolver, JWT is adding one.

We should consider create a generic resolver that takes input of HttpServletRequest and a separate one for ServerWebExchange and outputs <T>.

There are also places where we use Function.

There are other places we use Converter.

We need to find consistency throughout the code.