Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The BasicHttpAuthentication filter assumes HTTP's 'Basic' authentication scheme. But HTTP Authentication can support multiple schemes - instead of creating a filter per scheme, like we assume today, it probably makes sense to have a single filter that can support multiple schemes.
This issue is to create a general HttpAuthenticationFilter that allows one or more pluggable Schemes. Each Scheme should be able to resolve an authentication token based on the Authorization header value.
Existing authc filters (e.g. BasicHttpAuthenticationFilter) can leverage this new concept if necessary - they would just be a filter that comes pre-configured with a single scheme.