nl.surfnet.coin.ldap
Class MockLdapClientImpl

java.lang.Object
  extended by nl.surfnet.coin.ldap.MockLdapClientImpl
All Implemented Interfaces:
LdapClient

public class MockLdapClientImpl
extends Object
implements LdapClient


Field Summary
 
Fields inherited from interface nl.surfnet.coin.ldap.LdapClient
URN_IDENTIFIER
 
Constructor Summary
MockLdapClientImpl()
           
 
Method Summary
 Person findPerson(String identifier)
          Find the Person in the LDAP.
 List<Person> findPersons(Collection<String> identifiers)
          Find the Persons in the LDAP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockLdapClientImpl

public MockLdapClientImpl()
Method Detail

findPerson

public Person findPerson(String identifier)
Description copied from interface: LdapClient
Find the Person in the LDAP. The identifier can either be the urn (urn:collab:person:nl.myuniversity:s123456) or the persistent identifier (hashed urn specific for the SP).

Specified by:
findPerson in interface LdapClient
Parameters:
identifier - unqiue identifier of the Person
Returns:
Person object

findPersons

public List<Person> findPersons(Collection<String> identifiers)
Description copied from interface: LdapClient
Find the Persons in the LDAP. The identifier can either be the urn (urn:collab:person:nl.myuniversity:s123456) or the persistent identifier (hashed urn specific for the SP).

Specified by:
findPersons in interface LdapClient
Returns:
Persons objects


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.