Hi,
I would like to create a generic authentication endpoint using JAX-RS (with a single
@Path for authentication) to support multiple credentials. Each credential type may have
its own payload format, so I need to convert the payload to the correct implementation
before authenticating.
Do I have to use @Provider for this "dynamic" behavior ? Or there is a more
easy way to achieve that ?
What about using custom mime types for each credential type ?
Thanks.
Pedro Igor