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.
<?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>
Element DatabaseRoles:
An XML Schema defining this format is provided at: OGSA-DAI/schema/ogsadai/xsd/rolemap/role_map.xsd
Back: Role Mapping and Security | Up: Configuration Files | Next: How to Write a Role Map Document |
© International Business Machines Corporation, 2002-2006 | © The University of Edinburgh, 2002-2006 |