Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.0.3
-
None
-
Novice
Description
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]
Attachments
Issue Links
- duplicates
-
CXF-6153 OAuthRequestFilter throws NullPointerException when "Authorization" header is missing
- Closed