org.openpermis.identity
Class LdapIdentityFinder

java.lang.Object
  extended by org.openpermis.identity.LdapIdentityFinder
All Implemented Interfaces:
IdentityFinder

public class LdapIdentityFinder
extends Object
implements IdentityFinder

Finds all identities which have to be taken into account when assigning/canceling roles in an LDAP directory.

Since:
0.9.0

Constructor Summary
LdapIdentityFinder(InitialLdapContext context, String ldapPath, String objectClass)
          Creates an LdapIdentityFinder.
 
Method Summary
 List<URI> listIdentities()
          Returns all identities which have to be taken into account when assigning/canceling roles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapIdentityFinder

public LdapIdentityFinder(InitialLdapContext context,
                          String ldapPath,
                          String objectClass)
Creates an LdapIdentityFinder.

Parameters:
context - the InitialLdapContext referencing the ldap to be read.
ldapPath - the path of the subtree root.
objectClass - class of the object that should be retrieved.
Since:
0.9.0
Method Detail

listIdentities

public List<URI> listIdentities()
Description copied from interface: IdentityFinder
Returns all identities which have to be taken into account when assigning/canceling roles.

Specified by:
listIdentities in interface IdentityFinder
Returns:
all identities which have to be taken into account when assigning/canceling roles.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG