My use case is that I want an Auth interceptor which would support both
BASIC and Bearer Token authentication depending on the app's
configuration. My config information is accessible via a
@ApplicationScoped client service (ConfigurationService). I would like
to inject that into my interceptor. Currently the interceptors are
simply new'd up when needed.
I think we need to make interceptor creation asynchronous so that the
async bean manager in IOC can be (optionally) used. Attached to this
email are there files:
samplecode.txt - code generated now (e.g. JaxrsProxyLoaderImpl.java)
samplecode-async.txt - suggestion for how to make it async
samplecode-ioc.txt - optional code generation iff the IOC module is present
Thoughts?
I could take a stab at this if it seems reasonable, but I don't want to
start down this road if anyone can spot a glaring problem.
Also notice that I removed the return value for proceed() as I do not
believe it is required/used.
-Eric