ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (Closed) (JIRA)" <>
Subject [jira] [Closed] (WSS-45) Change CryptoFactory.getInstance to support java.util.Map
Date Mon, 03 Oct 2011 09:04:35 GMT


Colm O hEigeartaigh closed WSS-45.

> Change CryptoFactory.getInstance to support java.util.Map
> ---------------------------------------------------------
>                 Key: WSS-45
>                 URL:
>             Project: WSS4J
>          Issue Type: Wish
>            Reporter: Fred Dushin
>            Assignee: Davanum Srinivas
>         Attachments: crypto.diff, wss4j-45.patch
> The CryptoFactory type supports dynamic loading of Crypto instances through the getInstance
operation (it would be more appropriate to call this "createInstance", but that's a separate
issue).  The relevant operation signature is
> getInstance(java.lang.String, java.util.Properties)
> For implementors who would like to supply their own Crypto implementations, however,
a Properties object may not be sufficient, since a Properties maps strings to strings.  It
would be more general, and helpful, to define this operation to take a java.util.Map (which
java.util.Properties implements), so that pre-allocated/constructed objects can be passed
through this interface.
> This should be a binary-compatible change (assuming the Merlin implementation is changed
to downcast to a Properties object)
> I would be happy to supply a patch.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message