You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Hernan Bay Area <he...@yahoo.com> on 2006/04/12 19:28:21 UTC
Using a DB instead of keystore
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: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
Re: Using a DB instead of keystore
Posted by Ruchith Fernando <ru...@gmail.com>.
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 <he...@yahoo.com> 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: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
Re: Using a DB instead of keystore
Posted by Ruchith Fernando <ru...@gmail.com>.
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 <he...@yahoo.com> 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: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org