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-7505) Oauth2 keystore loading inconsistent with jwt keys
Date Fri, 15 Sep 2017 15:44:00 GMT

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

Sergey Beryozkin commented on CXF-7505:
---------------------------------------

Hi Romain, 
Do you have a situation where two types of stores, JKS and JWK in this case, can be loaded
at the same time ?
I can imagine it's happening indeed. Probably the simplest option is to add a ".jwk" to the
property used to keep JsonWebKeySet on the exchange


> Oauth2 keystore loading inconsistent with jwt keys
> --------------------------------------------------
>
>                 Key: CXF-7505
>                 URL: https://issues.apache.org/jira/browse/CXF-7505
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Romain Manni-Bucau
>
> org.apache.cxf.rs.security.jose.common.KeyManagementUtils#loadPersistKeyStore set a keystore
in the exchange and org.apache.cxf.rs.security.jose.jwk.JwkUtils#loadJwkSet(org.apache.cxf.message.Message,
java.util.Properties, org.apache.cxf.rs.security.jose.common.PrivateKeyPasswordProvider) loads
JsonWebKeys which can lead to classcastexception



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

Mime
View raw message