uk.org.ogsadai.common.rolemap
Interface RoleMapper

All Known Implementing Classes:
ExampleRoleMapper, SimpleFileRoleMapper, SimpleFileWithEncryptedPasswordsRoleMapper

public interface RoleMapper

Author:
The OGSA-DAI Team

Method Summary
 Role map(java.lang.String credentials, java.lang.String database)
           
 void setConfiguration(java.lang.String configuration)
          Method setConfiguration.
 

Method Detail

setConfiguration

public void setConfiguration(java.lang.String configuration)
                      throws CommonUserException,
                             CommonSystemException
Method setConfiguration. MUST be called before any calls to map

Parameters:
configuration - - from a dataResourceConfig document.
Throws:
CommonUserException
CommonSystemException

map

public Role map(java.lang.String credentials,
                java.lang.String database)
         throws AuthorisationException,
                CommonSystemException,
                CommonUserException
AuthorisationException
CommonSystemException
CommonUserException