You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jeff Genender (JIRA)" <ji...@apache.org> on 2013/07/26 01:05:48 UTC

[jira] [Closed] (CXF-5157) JAXRS JAASAuthenticationFilter not rfc2617 compliant for WWW-Authenticate realms

     [ https://issues.apache.org/jira/browse/CXF-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Genender closed CXF-5157.
------------------------------

    Resolution: Fixed
      Assignee: Jeff Genender

Fixed in Committed revision 1507149.
                
> 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
>            Assignee: 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