Jeff Genender created CXF-5157:
----------------------------------

             Summary: JAXRS JAASAuthenticationFilter not rfc2617 compliant for 
WWW-Authenticate realms
                 Key: CXF-5157
                 URL: https://issues.apache.org/jira/browse/CXF-5157
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS Security
    Affects Versions: 2.7.5, 2.7.6
            Reporter: Jeff Genender
             Fix For: 2.7.7


The JAASAuthenticationFilter not rfc2617 compliant for WWW-Authenticate realms. 
 Currently the returned headers for a realm called "foo" would return:

Basic foo

However, according to rfc2617 p2/3 it states: 

The authentication parameter realm is defined for all authentication
   schemes:
      realm       = "realm" "=" realm-value
      realm-value = quoted-string

Therefor the above example is supposed to look like the following:

Basic realm="foo"

This will make the JAX-RS authentication compliant with the rfc and also 
compatible with other implementations such as Jetty.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to