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

Lili Shi updated CXF-4035:
--------------------------

    Description: 
In the MerlinDevice class, if the truststore is null, the truststore attempts 
to load with a Keystore type of "trustStorePassword" instead of 
"trustStoreType".

Line: truststore = load(null,trustStorePassword,provider,trustStorePassword);

This makes using a physical truststore (such as the windows cert store) 
impossible. A quick work around would be to extend the MerlinDevice class and 
override the load properties with the exact same code except with the fix to 
that line.

  was:
In the MerlinDevice class, if the truststore is null (as in the case with smart 
cards), the truststore attempts to load with a Keystore type of 
"trustStorePassword" instead of "trustStoreType".

Line: truststore = load(null,trustStorePassword,provider,trustStorePassword);

This makes using a physical truststore (such as the windows cert store) 
impossible. A quick work around would be to extend the MerlinDevice class and 
override the load properties with the exact same code except with the fix to 
that line.

    
> MerlinDevice tries to load truststore of type "trustStorePassword"
> ------------------------------------------------------------------
>
>                 Key: CXF-4035
>                 URL: https://issues.apache.org/jira/browse/CXF-4035
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.4.5, 2.5.1
>            Reporter: Lili Shi
>            Priority: Minor
>              Labels: bug, patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In the MerlinDevice class, if the truststore is null, the truststore attempts 
> to load with a Keystore type of "trustStorePassword" instead of 
> "trustStoreType".
> Line: truststore = load(null,trustStorePassword,provider,trustStorePassword);
> This makes using a physical truststore (such as the windows cert store) 
> impossible. A quick work around would be to extend the MerlinDevice class and 
> override the load properties with the exact same code except with the fix to 
> that line.

--
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

        

Reply via email to