Merlin doesn't support physical providers with no keystore file
---------------------------------------------------------------

                 Key: WSS-294
                 URL: https://issues.apache.org/jira/browse/WSS-294
             Project: WSS4J
          Issue Type: Bug
          Components: WSS4J Handlers
    Affects Versions: 1.6.1
         Environment: using PKCS11 provider
            Reporter: rotem a
            Assignee: Colm O hEigeartaigh


At Merlin.loadProperties, in order for the load method to be called, there must 
be a non null inputStream.
In case of physical keystore (like smart card), there is no keystore 
inputStream, the keystore is not loaded and later on we'll get an error when we 
try
to retrive a certificate from the keystore.

The solution is to allow not getting a keystore file and in this case just send 
a null inputStream to the load method (it works).

There is a workaround: creating a new class which extends Merlin and just 
override the loadProperties method (though it's not perfect cause we can't
set the loadCACerts property (it's private).


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to