cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6248) NPE at OAuthRequestFilter when no Authorization header found
Date Tue, 10 Feb 2015 09:51:34 GMT

    [ https://issues.apache.org/jira/browse/CXF-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313921#comment-14313921
] 

Sergey Beryozkin commented on CXF-6248:
---------------------------------------

Thanks for spotting it, has already been fixed, see
https://issues.apache.org/jira/browse/CXF-6153

> NPE at OAuthRequestFilter when no Authorization header found
> ------------------------------------------------------------
>
>                 Key: CXF-6248
>                 URL: https://issues.apache.org/jira/browse/CXF-6248
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 3.0.3
>            Reporter: Eneko Fernández
>            Priority: Minor
>
> Hi, 
> When trying the filter with a message without Authorization header the NullPointerException
comes up.
> java.lang.NullPointerException: null
>    at org.apache.cxf.rs.security.oauth2.utils.AuthorizationUtils.getAuthorizationParts(AuthorizationUtils.java:76)
~[cxf-rt-rs-security-oauth2-3.0.3.jar:3.0.3]
>    at org.apache.cxf.rs.security.oauth2.utils.AuthorizationUtils.getAuthorizationParts(AuthorizationUtils.java:69)
~[cxf-rt-rs-security-oauth2-3.0.3.jar:3.0.3]
>    at org.apache.cxf.rs.security.oauth2.filters.OAuthRequestFilter.getAuthorizationParts(OAuthRequestFilter.java:227)
~[cxf-rt-rs-security-oauth2-3.0.3.jar:3.0.3]
>    at org.apache.cxf.rs.security.oauth2.filters.OAuthRequestFilter.validateRequest(OAuthRequestFilter.java:83)
~[cxf-rt-rs-security-oauth2-3.0.3.jar:3.0.3]
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message