geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Access to Geronimo KeyStores
Date Wed, 02 Mar 2011 01:28:15 GMT
Suppose that you want to access the key store in the var/security folder
directly, the following file should be helpful for you :

https://svn.apache.org/repos/asf/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java

2011/3/1 KHAksnes <khaksnes@gmail.com>

> How do I access a Geronimo KeyStore from a Stateless EJB?
> I need a way of specifiing the KeyStore name, then getting a named private
> key. The provider field could be used, but I haven't found any
> documentation
> on how to do this in Geronimo.
> The available documentation is mainly related to https and security realms.
> Not decryption of stored data as I need the key for.
> Something like the following could be correct:
> KeyStore keyStore =
> KeyStore.getInstance(KeyStore.getDefaultType(),"MyKeyStoreName");
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Access-to-Geronimo-KeyStores-tp2603925p2603925.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan

Mime
View raw message