|
|||||||||
| 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
public abstract class BaseInterceptor
A easy-to-use implementation of Interceptor. All methods are
implemented to pass the flow of control to next interceptor by defaults.
Please override the methods you have concern in.
| Constructor Summary | |
|---|---|
protected |
BaseInterceptor()
Creates a new instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseInterceptor()
| Method Detail |
|---|
public static LdapPrincipal getPrincipal()
LdapPrincipal of current context.
public static javax.naming.ldap.LdapContext getContext()
Context.
public void init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
throws javax.naming.NamingException
init in interface Interceptorjavax.naming.NamingExceptionpublic void destroy()
destroy in interface Interceptor
public void add(NextInterceptor next,
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 Interceptorjavax.naming.NamingException
public void delete(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.delete(org.apache.directory.shared.ldap.name.LdapDN) call.
delete in interface Interceptorjavax.naming.NamingException
public LdapDN getMatchedName(NextInterceptor next,
LdapDN dn)
throws javax.naming.NamingException
InterceptorPartitionNexus.getMatchedName(org.apache.directory.shared.ldap.name.LdapDN) call.
getMatchedName in interface Interceptorjavax.naming.NamingException
public javax.naming.directory.Attributes getRootDSE(NextInterceptor next)
throws javax.naming.NamingException
InterceptorPartitionNexus.getRootDSE() call.
getRootDSE in interface Interceptorjavax.naming.NamingException
public LdapDN getSuffix(NextInterceptor next,
LdapDN dn)
throws javax.naming.NamingException
InterceptorPartitionNexus.getSuffix(org.apache.directory.shared.ldap.name.LdapDN) call.
getSuffix in interface Interceptorjavax.naming.NamingException
public boolean hasEntry(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call.
hasEntry in interface Interceptorjavax.naming.NamingException
public boolean isSuffix(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.isSuffix(org.apache.directory.shared.ldap.name.LdapDN) call.
isSuffix in interface Interceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor next,
LdapDN base)
throws javax.naming.NamingException
InterceptorPartition.list(org.apache.directory.shared.ldap.name.LdapDN) call.
list in interface Interceptorjavax.naming.NamingException
public java.util.Iterator listSuffixes(NextInterceptor next)
throws javax.naming.NamingException
InterceptorPartitionNexus.listSuffixes() call.
listSuffixes in interface Interceptorjavax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next,
LdapDN dn,
java.lang.String[] attrIds)
throws javax.naming.NamingException
InterceptorPartition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call.
lookup in interface Interceptorjavax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor next,
LdapDN name)
throws javax.naming.NamingException
InterceptorPartition.lookup(org.apache.directory.shared.ldap.name.LdapDN) call.
lookup in interface Interceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
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 Interceptorjavax.naming.NamingException
public void modify(NextInterceptor next,
LdapDN name,
javax.naming.directory.ModificationItem[] mods)
throws javax.naming.NamingException
InterceptorPartition.modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call.
modify in interface Interceptorjavax.naming.NamingException
public void modifyRn(NextInterceptor next,
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 Interceptorjavax.naming.NamingException
public void move(NextInterceptor next,
LdapDN oriChildName,
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 Interceptorjavax.naming.NamingException
public void move(NextInterceptor next,
LdapDN oriChildName,
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 Interceptorjavax.naming.NamingException
public javax.naming.NamingEnumeration search(NextInterceptor next,
LdapDN base,
java.util.Map env,
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 Interceptorjavax.naming.NamingException
public void addContextPartition(NextInterceptor next,
PartitionConfiguration cfg)
throws javax.naming.NamingException
InterceptorPartitionNexus.addContextPartition(PartitionConfiguration) call.
addContextPartition in interface Interceptorjavax.naming.NamingException
public void removeContextPartition(NextInterceptor next,
LdapDN suffix)
throws javax.naming.NamingException
InterceptorPartitionNexus.removeContextPartition(org.apache.directory.shared.ldap.name.LdapDN) call.
removeContextPartition in interface Interceptorjavax.naming.NamingException
public boolean compare(NextInterceptor next,
LdapDN name,
java.lang.String oid,
java.lang.Object value)
throws javax.naming.NamingException
InterceptorPartitionNexus.compare(org.apache.directory.shared.ldap.name.LdapDN,String,Object) call.
compare in interface Interceptorjavax.naming.NamingException
public void bind(NextInterceptor next,
LdapDN bindDn,
byte[] credentials,
java.util.List<java.lang.String> mechanisms,
java.lang.String saslAuthId)
throws javax.naming.NamingException
InterceptorPartition.bind(org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String) call.
bind in interface Interceptorjavax.naming.NamingException
public void unbind(NextInterceptor next,
LdapDN bindDn)
throws javax.naming.NamingException
InterceptorPartition.unbind(org.apache.directory.shared.ldap.name.LdapDN) call.
unbind in interface Interceptorjavax.naming.NamingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||