I don’t know of any pre-existing filters, but I have written this exact filter. If you need an example, let me know. I might have to generify it a bit before I can share. On Sun, Jan 6, 2019 at 7:43 AM David Karlsen <[email protected]> wrote:
> Hi - I'm developing a JAX-RS client app, which should call some services > that are secured by OIDC headers (e.g. a HTTP Authorization header). > I have another service to provide me the token based on username/pw login. > Are there any pre-made filters or the likes in CXF to support this flow - I > would guess it is a quite common pattern... > > Something like: > call service, filter detects missing header and that the service requires a > token, then delegates to a service to invoke token-issuing service and > user-resolver (to give paramters), then puts the token in the header for > the original service-call. > > -- > -- > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen >
