Hi Hernan,

This is possible with WSS4J.

You will have to implement
org.apache.ws.security.components.crypto.Crypto interface to supply
the keys and certs to WSS4J.

org.apache.ws.security.components.crypto.Merlin is such an
implementation which uses PKCS12 or Java keystores to store
certificates and keys.

You can configure WSS4J with the custom Crypto impl using the
.properties files. (Specified using the signaturePropFile and
decryptionPropFile parameters in the handler configuration).

See [1] for a description and usage of the .properties files and how
it can be used to provide additional parameters to configure the
custom Crypto impl.
(To access the additional parameters you will have to include a
constructor that accepts a java.util.Properties object and a
java.lang.ClassLoader object as arguments, in the impl class)

Thanks,
Ruchith

[1] 
http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_PROP_FILE



On 4/12/06, Hernan Bay Area <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> We would like to store the key pairs and certificates
> in a a DB instead of a Java keystore file. Is there
> a way to do this in WSS4J? Any pointers are greatly
> appreciated.
>
> If this is not the right forum for this question,
> please let me know what forum to use.
>
> Thanks in advance,
>
> Hernan
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to