org.apache.jetspeed.security.spi.impl.ldap
Interface LdapPrincipalDao

All Superinterfaces:
LdapReadOnlyPrincipalDao
All Known Subinterfaces:
LdapUserPrincipalDao
All Known Implementing Classes:
LdapPrincipalDaoImpl, LdapUserPrincipalDaoImpl

public interface LdapPrincipalDao
extends LdapReadOnlyPrincipalDao

Generic DAO interface for LDAP principals.

Author:
Mike Long

Method Summary
 void create(String principalUid)
           Makes a new ldap entry for the specified principal.
 void delete(String principalUid)
           Deletes a ldap entry for the specified principal.
 Principal[] find(String principalUid)
           Search the ldap directory for the principal.
 
Methods inherited from interface org.apache.jetspeed.security.spi.impl.ldap.LdapReadOnlyPrincipalDao
lookupByUid
 

Method Detail

create

public void create(String principalUid)
            throws org.apache.jetspeed.security.SecurityException

Makes a new ldap entry for the specified principal.

Parameters:
principalUid - The principal uid.
Throws:
org.apache.jetspeed.security.SecurityException - Throws a SecurityException.

delete

public void delete(String principalUid)
            throws org.apache.jetspeed.security.SecurityException

Deletes a ldap entry for the specified principal.

Parameters:
principalUid - The principal uid.
Throws:
org.apache.jetspeed.security.SecurityException - Throws a SecurityException.

find

public Principal[] find(String principalUid)
                 throws org.apache.jetspeed.security.SecurityException

Search the ldap directory for the principal.

Parameters:
principalUid - The uid value of the principal. If empty this method
Returns:
All the objects of this LDAP class type.
Throws:
org.apache.jetspeed.security.SecurityException


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.