uk.ac.soton.itinnovation.grid.service.ogsadai.rdbms
Class RDBMSSubscriptionRoleMapper

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.ogsadai.rdbms.RDBMSSubscriptionRoleMapper
All Implemented Interfaces:
RoleMapper

public class RDBMSSubscriptionRoleMapper
extends Object
implements RoleMapper

Simple role mapper class that gets database credentials from an OgsaDaiDBRole

Author:
ds

Constructor Summary
RDBMSSubscriptionRoleMapper()
           
 
Method Summary
 Role map(String credentials, String database)
           
 void setConfiguration(String configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDBMSSubscriptionRoleMapper

public RDBMSSubscriptionRoleMapper()
Method Detail

map

public Role map(String credentials,
                String database)
         throws RoleMapAuthorizationException,
                RoleMapCannotAuthorizeException
Specified by:
map in interface RoleMapper
Throws:
RoleMapAuthorizationException
RoleMapCannotAuthorizeException

setConfiguration

public void setConfiguration(String configuration)
                      throws RoleMapConfigurationException
Specified by:
setConfiguration in interface RoleMapper
Throws:
RoleMapConfigurationException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.