Simple 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.

Example

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