uk.org.ogsadai.common.rolemap
Class ExampleRoleMapper

java.lang.Object
  |
  +--uk.org.ogsadai.common.rolemap.ExampleRoleMapper
All Implemented Interfaces:
RoleMapper

public class ExampleRoleMapper
extends java.lang.Object
implements RoleMapper


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

Constructor Detail

ExampleRoleMapper

public ExampleRoleMapper()
Method Detail

setConfiguration

public void setConfiguration(java.lang.String configuration)
Description copied from interface: RoleMapper
Method setConfiguration. MUST be called before any calls to map

Specified by:
setConfiguration in interface RoleMapper
Parameters:
configuration - - from a dataResourceConfig document.
See Also:
RoleMapper.setConfiguration(String)

map

public Role map(java.lang.String credentials,
                java.lang.String database)
Specified by:
map in interface RoleMapper
See Also:
RoleMapper.map(String, String)