The OGSA-DAI team apologises for the fact that this feature is not currently operable.
OGSA-DAI provides support for a simple role map document in which database passwords are encrypred. This document can be used with the uk.org.ogsadai.common.rolemap.SimpleFileWithEncryptedPasswordsRoleMapper role mapper class.
We describe how to decrypt (and also create) this form of role map document automatically shortly
<?xml version="1.0" encoding="UTF-8"?>
<DatabaseRoles>
<Database name="jdbc:mysql://host:6502/otherData">
<User dn="No Certificate Provided" userid="myUser"
encryptedPassword="LRdn382maXa"/>
<User dn="/C=UK/O=eScience/OU=Aspatria/L=AeSC/CN=tom"
userid="superUser" encryptedPassword="IFNelykgvxE"/>
</Database>
</DatabaseRoles>
Element DatabaseRoles:
This should be identical to the return value of the uk.org.ogsadai.common.rolemap.Cryptography class's static scramble method, when the first argument is equal to an encryption password and the second argument is equal to the database user's plain text password.
An XML Schema defining this format is provided at: OGSA-DAI/schema/ogsadai/xsd/rolemap/encrypted_role_map.xsd
| Back: Simple OGSA-DAI Role Map Documents | Up: Data Resource Configuration | Next: How to Write an OGSA-DAI Role Map Document |
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |