You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/11/28 10:52:05 UTC

[jira] [Closed] (CXF-7504) NPE in oauth2 module for jose auth code tokens

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

Colm O hEigeartaigh closed CXF-7504.
------------------------------------

> NPE in oauth2 module for jose auth code tokens
> ----------------------------------------------
>
>                 Key: CXF-7504
>                 URL: https://issues.apache.org/jira/browse/CXF-7504
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Romain Manni-Bucau
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.14, 3.2.1
>
>
> org.apache.cxf.rs.security.oauth2.provider.JoseSessionTokenProvider#protectStateString calls org.apache.cxf.rs.security.oauth2.provider.JoseSessionTokenProvider#getInitializedEncryptionProvider which calls org.apache.cxf.rs.security.jose.jwe.JweUtils#loadEncryptionProvider(org.apache.cxf.rs.security.jose.jwe.JweHeaders, boolean) with headers == null but in the stack org.apache.cxf.rs.security.jose.jwe.JweUtils#loadKeyEncryptionProvider assumes headers != null which leads to a NPE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)