Encrypted OGSA-DAI Role Map Documents

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

Example

<?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>

Specification

Element DatabaseRoles:

XML Schema

An XML Schema defining this format is provided at: OGSA-DAI/schema/ogsadai/xsd/rolemap/encrypted_role_map.xsd