org.romaframework.module.users
Interface AccountBinder

All Known Implementing Classes:
SimpleAccountBinder

public interface AccountBinder

this interface represents a strategy to associate an LDAP account with a BaseAccount in the application

Author:
Luigi Dell'Aquila

Method Summary
 BaseAccount getAccount(java.lang.String authenticationName, java.util.Map<?,?> authenticationResult)
          returns a BaseAccount corresponding to an LDAP user
 

Method Detail

getAccount

BaseAccount getAccount(java.lang.String authenticationName,
                       java.util.Map<?,?> authenticationResult)
returns a BaseAccount corresponding to an LDAP user

Parameters:
authenticationName - the LDAP user name
authenticationResult - the result of the authentication call
Returns:
the BaseAccount corresponding to the LDAP user logging in