[
https://issues.apache.org/jira/browse/CXF-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313954#comment-14313954
]
Sergey Beryozkin edited comment on CXF-6248 at 2/10/15 10:17 AM:
-----------------------------------------------------------------
no problems at all,
thanks
was (Author: sergey_beryozkin):
no at all,
thanks
> 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
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 3.0.4, 3.1.0
>
>
> 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)