|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.interceptor.BaseInterceptor
org.apache.ldap.server.normalization.NormalizationService
A name normalization service. This service makes sure all relative and distinuished
names are normalized before calls are made against the respective interface methods
on ContextPartitionNexus
.
Constructor Summary | |
NormalizationService()
|
Method Summary | |
void |
add(NextInterceptor nextInterceptor,
java.lang.String upName,
javax.naming.Name normName,
javax.naming.directory.Attributes attrs)
Filters ContextPartition#add(String, Name, Attributes) call. |
void |
delete(NextInterceptor nextInterceptor,
javax.naming.Name name)
Filters ContextPartition#delete(Name) call. |
void |
destroy()
This method does nothing by default. |
javax.naming.Name |
getMatchedName(NextInterceptor nextInterceptor,
javax.naming.Name name,
boolean normalized)
Filters ContextPartitionNexus.getMatchedName(Name, boolean) call. |
javax.naming.Name |
getSuffix(NextInterceptor nextInterceptor,
javax.naming.Name name,
boolean normalized)
Filters ContextPartitionNexus.getSuffix(Name, boolean) call. |
boolean |
hasEntry(NextInterceptor nextInterceptor,
javax.naming.Name name)
Filters ContextPartition#lookup(Name, String[]) call. |
void |
init(ContextFactoryConfiguration factoryCfg,
InterceptorConfiguration cfg)
This method does nothing by default. |
boolean |
isSuffix(NextInterceptor nextInterceptor,
javax.naming.Name name)
Filters ContextPartition#isSuffix(Name) call. |
javax.naming.NamingEnumeration |
list(NextInterceptor nextInterceptor,
javax.naming.Name base)
Filters ContextPartition#list(Name) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor nextInterceptor,
javax.naming.Name name)
Filters ContextPartition#lookup(Name) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor nextInterceptor,
javax.naming.Name name,
java.lang.String[] attrIds)
Filters ContextPartition#lookup(Name, String[]) call. |
void |
modify(NextInterceptor nextInterceptor,
javax.naming.Name name,
int modOp,
javax.naming.directory.Attributes attrs)
Filters ContextPartition#modify(Name, int, Attributes) call. |
void |
modify(NextInterceptor nextInterceptor,
javax.naming.Name name,
javax.naming.directory.ModificationItem[] items)
Filters ContextPartition#modify(Name, ModificationItem[]) call. |
void |
modifyRn(NextInterceptor nextInterceptor,
javax.naming.Name name,
java.lang.String newRn,
boolean deleteOldRn)
Filters ContextPartition#modifyRn(Name, String, boolean) call. |
void |
move(NextInterceptor nextInterceptor,
javax.naming.Name name,
javax.naming.Name newParentName)
Filters ContextPartition#move(Name, Name) call. |
void |
move(NextInterceptor nextInterceptor,
javax.naming.Name name,
javax.naming.Name newParentName,
java.lang.String newRn,
boolean deleteOldRn)
Filters ContextPartition#move(Name, Name, String, boolean) call. |
javax.naming.NamingEnumeration |
search(NextInterceptor nextInterceptor,
javax.naming.Name base,
java.util.Map env,
org.apache.ldap.common.filter.ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
Filters ContextPartition#search(Name, Map, ExprNode, SearchControls) call. |
Methods inherited from class org.apache.ldap.server.interceptor.BaseInterceptor |
addContextPartition, getContext, getPrincipal, getRootDSE, listSuffixes, removeContextPartition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NormalizationService()
Method Detail |
public void init(ContextFactoryConfiguration factoryCfg, InterceptorConfiguration cfg) throws javax.naming.NamingException
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
javax.naming.NamingException
public void destroy()
BaseInterceptor
destroy
in interface Interceptor
destroy
in class BaseInterceptor
public void add(NextInterceptor nextInterceptor, java.lang.String upName, javax.naming.Name normName, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
Interceptor
ContextPartition.add(String, Name, Attributes)
call.
add
in interface Interceptor
add
in class BaseInterceptor
javax.naming.NamingException
public void delete(NextInterceptor nextInterceptor, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
ContextPartition.delete(Name)
call.
delete
in interface Interceptor
delete
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor nextInterceptor, javax.naming.Name name, int modOp, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
Interceptor
ContextPartition.modify(Name, int, Attributes)
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor nextInterceptor, javax.naming.Name name, javax.naming.directory.ModificationItem[] items) throws javax.naming.NamingException
Interceptor
ContextPartition.modify(Name, ModificationItem[])
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modifyRn(NextInterceptor nextInterceptor, javax.naming.Name name, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
ContextPartition.modifyRn(Name, String, boolean)
call.
modifyRn
in interface Interceptor
modifyRn
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor nextInterceptor, javax.naming.Name name, javax.naming.Name newParentName) throws javax.naming.NamingException
Interceptor
ContextPartition.move(Name, Name)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor nextInterceptor, javax.naming.Name name, javax.naming.Name newParentName, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
ContextPartition.move(Name, Name, String, boolean)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.NamingEnumeration search(NextInterceptor nextInterceptor, javax.naming.Name base, java.util.Map env, org.apache.ldap.common.filter.ExprNode filter, javax.naming.directory.SearchControls searchCtls) throws javax.naming.NamingException
Interceptor
ContextPartition.search(Name, Map, ExprNode, SearchControls)
call.
search
in interface Interceptor
search
in class BaseInterceptor
javax.naming.NamingException
public boolean hasEntry(NextInterceptor nextInterceptor, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
ContextPartition.lookup(Name, String[])
call.
hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
javax.naming.NamingException
public boolean isSuffix(NextInterceptor nextInterceptor, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
ContextPartition.isSuffix(Name)
call.
isSuffix
in interface Interceptor
isSuffix
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor nextInterceptor, javax.naming.Name base) throws javax.naming.NamingException
Interceptor
ContextPartition.list(Name)
call.
list
in interface Interceptor
list
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor nextInterceptor, javax.naming.Name name) throws javax.naming.NamingException
Interceptor
ContextPartition.lookup(Name)
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor nextInterceptor, javax.naming.Name name, java.lang.String[] attrIds) throws javax.naming.NamingException
Interceptor
ContextPartition.lookup(Name, String[])
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.Name getMatchedName(NextInterceptor nextInterceptor, javax.naming.Name name, boolean normalized) throws javax.naming.NamingException
Interceptor
ContextPartitionNexus.getMatchedName(Name, boolean)
call.
getMatchedName
in interface Interceptor
getMatchedName
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.Name getSuffix(NextInterceptor nextInterceptor, javax.naming.Name name, boolean normalized) throws javax.naming.NamingException
Interceptor
ContextPartitionNexus.getSuffix(Name, boolean)
call.
getSuffix
in interface Interceptor
getSuffix
in class BaseInterceptor
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |