[
https://issues.apache.org/jira/browse/CXF-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720580#comment-13720580
]
Sergey Beryozkin commented on CXF-5157:
---------------------------------------
Ouch :-). I can see this is done properly in OAuth2 filter so I guess I just
did not pay the proper attention to the code, so thanks for fixing it.
FYI, a redirect uri parameter is of no use at the moment - I've been planning
to build some support for the form-based authentication may be around it
> 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