Simple OGSA-DAI Role Map Documents

OGSA-DAI provides support for a simple role map document in which database passwords are in plain-text. This document can be used with the uk.org.ogsadai.common.rolemap.SimpleFileRoleMapper role mapper class.

We describe how to encrypt this form of role map document shortly

Example

<?xml version="1.0" encoding="UTF-8"?>
<DatabaseRoles>
  <Database name="jdbc:mysql://host:6502/otherData">
    <User dn="No Certificate Provided" userid="myUser" password="123"/>
    <User dn="/C=UK/O=eScience/OU=Aspatria/L=AeSC/CN=tom"
             userid="superUser" password="myPassword"/>
  </Database>
</DatabaseRoles>

Specification

Element DatabaseRoles:

XML Schema

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