You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2012/08/06 20:06:02 UTC

[jira] [Assigned] (CXF-4454) JSSE KeyManagers and TrustManager XML configurations are ignored if they contain no keystore element.

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

Aki Yoshida reassigned CXF-4454:
--------------------------------

    Assignee: Aki Yoshida
    
> JSSE KeyManagers and TrustManager XML configurations are ignored if they contain no keystore element.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4454
>                 URL: https://issues.apache.org/jira/browse/CXF-4454
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.6.1
>         Environment: all
>            Reporter: Sven Staible
>            Assignee: Aki Yoshida
>            Priority: Minor
>
> The XSD for JSSE KeyManagers and TrustManagers allows them to not include a keystore (or certstore) element (which is correct). However the configured key and trust manager configurations are ignored and not applied if they contain no keystore configuration element (see TLSParameterJaxBUtils.java:239 and TLSParameterJaxBUtils.java:275).
> For a Trust- or KeyManager to not require a keystore configuration is a valid scenario. I'm currently using a JCE provider that does not require a keystore. With the current implementation I can not use this provider with the XML configuration feature. If I set the key and trust managers of this provider manually in the TLSClientParametersConfig using java code it works as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira