|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.interceptor.BaseInterceptor
org.apache.directory.server.core.subtree.SubentryService
public class SubentryService
The Subentry interceptor service which is responsible for filtering out subentries on search operations and injecting operational attributes
| Nested Class Summary | |
|---|---|
class |
SubentryService.HideEntriesFilter
SearchResultFilter used to filter out normal entries but shows subentries based on objectClass values. |
class |
SubentryService.HideSubentriesFilter
SearchResultFilter used to filter out subentries based on objectClass values. |
| Field Summary | |
|---|---|
static java.lang.String |
AC_AREA
|
static java.lang.String |
AC_INNERAREA
|
static java.lang.String |
AC_SUBENTRIES
|
static java.lang.String |
COLLECTIVE_AREA
|
static java.lang.String |
COLLECTIVE_ATTRIBUTE_SUBENTRIES
|
static java.lang.String |
COLLECTIVE_INNERAREA
|
static java.lang.String |
SCHEMA_AREA
|
static java.lang.String |
SCHEMA_SUBENTRY
|
static java.lang.String[] |
SUBENTRY_OPATTRS
|
| Constructor Summary | |
|---|---|
SubentryService()
|
|
| Method Summary | |
|---|---|
void |
add(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
Filters Partition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call. |
void |
delete(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
org.apache.directory.shared.ldap.message.ModificationItemImpl[] |
getOperationalModsForAdd(javax.naming.directory.Attributes entry,
javax.naming.directory.Attributes operational)
Calculates the subentry operational attributes to add or replace from a candidate entry selected by a subtree specification. |
javax.naming.directory.Attributes |
getSubentryAttributes(javax.naming.Name dn,
javax.naming.directory.Attributes entryAttrs)
Evaluates the set of subentry subtrees upon an entry and returns the operational subentry attributes that will be added to the entry if added at the dn specified. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
This method does nothing by default. |
javax.naming.NamingEnumeration |
list(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base)
Filters Partition.list(org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
int modOp,
javax.naming.directory.Attributes mods)
Filters Partition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call. |
void |
modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods)
Filters Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call. |
void |
modifyRn(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
void |
move(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.LdapDN newParentName)
Filters Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
move(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.LdapDN newParentName,
java.lang.String newRn,
boolean deleteOldRn)
Filters Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call. |
javax.naming.NamingEnumeration |
search(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base,
java.util.Map env,
org.apache.directory.shared.ldap.filter.ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
Filters Partition.search(org.apache.directory.shared.ldap.name.LdapDN,java.util.Map,org.apache.directory.shared.ldap.filter.ExprNode,javax.naming.directory.SearchControls) call. |
| Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
|---|
addContextPartition, bind, compare, destroy, getContext, getMatchedName, getPrincipal, getRootDSE, getSuffix, hasEntry, isSuffix, listSuffixes, lookup, lookup, removeContextPartition, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String AC_AREA
public static final java.lang.String AC_INNERAREA
public static final java.lang.String AC_SUBENTRIES
public static final java.lang.String SCHEMA_AREA
public static final java.lang.String SCHEMA_SUBENTRY
public static final java.lang.String COLLECTIVE_AREA
public static final java.lang.String COLLECTIVE_ATTRIBUTE_SUBENTRIES
public static final java.lang.String COLLECTIVE_INNERAREA
public static final java.lang.String[] SUBENTRY_OPATTRS
| Constructor Detail |
|---|
public SubentryService()
| Method Detail |
|---|
public void init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
throws javax.naming.NamingException
BaseInterceptor
init in interface Interceptorinit in class BaseInterceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base)
throws javax.naming.NamingException
InterceptorPartition.list(org.apache.directory.shared.ldap.name.LdapDN) call.
list in interface Interceptorlist in class BaseInterceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration search(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN base,
java.util.Map env,
org.apache.directory.shared.ldap.filter.ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
throws javax.naming.NamingException
InterceptorPartition.search(org.apache.directory.shared.ldap.name.LdapDN,java.util.Map,org.apache.directory.shared.ldap.filter.ExprNode,javax.naming.directory.SearchControls) call.
search in interface Interceptorsearch in class BaseInterceptorjavax.naming.NamingException
public javax.naming.directory.Attributes getSubentryAttributes(javax.naming.Name dn,
javax.naming.directory.Attributes entryAttrs)
throws javax.naming.NamingException
dn - the normalized distinguished name of the entryentryAttrs - the entry attributes are generated for
javax.naming.NamingException - if there are problems accessing entry information
public void add(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
throws javax.naming.NamingException
InterceptorPartition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call.
add in interface Interceptoradd in class BaseInterceptorjavax.naming.NamingException
public void delete(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.delete(org.apache.directory.shared.ldap.name.LdapDN) call.
delete in interface Interceptordelete in class BaseInterceptorjavax.naming.NamingException
public void modifyRn(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
java.lang.String newRn,
boolean deleteOldRn)
throws javax.naming.NamingException
InterceptorPartition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call.
modifyRn in interface InterceptormodifyRn in class BaseInterceptorjavax.naming.NamingException
public void move(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.LdapDN newParentName,
java.lang.String newRn,
boolean deleteOldRn)
throws javax.naming.NamingException
InterceptorPartition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean) call.
move in interface Interceptormove in class BaseInterceptorjavax.naming.NamingException
public void move(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN oriChildName,
org.apache.directory.shared.ldap.name.LdapDN newParentName)
throws javax.naming.NamingException
InterceptorPartition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN) call.
move in interface Interceptormove in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
int modOp,
javax.naming.directory.Attributes mods)
throws javax.naming.NamingException
InterceptorPartition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call.
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods)
throws javax.naming.NamingException
InterceptorPartition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call.
modify in interface Interceptormodify in class BaseInterceptorjavax.naming.NamingException
public org.apache.directory.shared.ldap.message.ModificationItemImpl[] getOperationalModsForAdd(javax.naming.directory.Attributes entry,
javax.naming.directory.Attributes operational)
throws javax.naming.NamingException
entry - the entry being modifiedoperational - the set of operational attributes supported by the AP
of the subentry
javax.naming.NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||