As far as I understand the spesificatons the keystores needs to be configured fully outside the applicaton code (by the container) to be useful from EJBs. the programming restrictions in place (EJB3 ejbcore Chapter 21 section 21.1.2) And in particular this restricton: "An enterprise bean must not use the java.io package to attempt to access files and directories in the file system." makes it impossible for EJBs to setup and configure file system based key stores themselves, this kind of resources must be provided by the container somehow. A possible solution could be a database based key store but I haven't found one yet. At the end this only leaves the getInstance methods of java.security.KeyStore as ways of getting a keystore. Dependency injection whould be great but I can't find JNDI references anywhere. :-(
-- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Access-to-Geronimo-KeyStores-tp2603925p2612157.html Sent from the Users mailing list archive at Nabble.com.
