The OGSA-DAI team apologises for the fact that this feature is not currently operable.
To use an encrypted OGSA-DAI role map document you have to provide the password used to encrypt the document to your Web services container.
The simplest way to achieve this is by setting the ogsadai.password system property before starting your Web services container:
$ setenv CATALINA_OPTS -Dogsadai.password=PASSWORD
$ export CATALINA_OPTS -Dogsadai.password=PASSWORD
$ set CATALINA_OPTS=-Dogsadai.password=PASSWORD
However, many popular shells store histories of commands that have been entered, in plain text. Allowing passwords to be stored in such a manner is a potential security hazard.
An alternative, if using Apache Tomcat and OGSA-DAI OGSI, is to install an OGSA-DAI "handler". This needs only to be installed once. Once installed it enables Tomcat, when you start Tomcat, to detect whether you are using any encrypted role map documents and, if so, to prompt for their passwords.
To install the "handler", run the OGSA-DAI deployStartup ant target before starting up Tomcat.
$ ant deployStartup
| Back: How to Write an OGSA-DAI Role Map Document | Up: Configuration Files | |
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |