|
||||||||||
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.normalization.NormalizationService
public class 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 PartitionNexus
.
Constructor Summary | |
---|---|
NormalizationService()
|
Method Summary | |
---|---|
void |
add(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
javax.naming.directory.Attributes attrs)
Filters Partition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes) call. |
void |
addContextPartition(NextInterceptor next,
PartitionConfiguration cfg)
Filters PartitionNexus.addContextPartition(PartitionConfiguration) call. |
void |
bind(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN bindDn,
byte[] credentials,
java.util.List mechanisms,
java.lang.String saslAuthId)
Filters Partition.bind(org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String) call. |
boolean |
compare(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN name,
java.lang.String oid,
java.lang.Object value)
Filters PartitionNexus.compare(org.apache.directory.shared.ldap.name.LdapDN,String,Object) call. |
void |
delete(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.delete(org.apache.directory.shared.ldap.name.LdapDN) call. |
void |
destroy()
This method does nothing by default. |
org.apache.directory.shared.ldap.name.LdapDN |
getMatchedName(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters PartitionNexus.getMatchedName(org.apache.directory.shared.ldap.name.LdapDN) call. |
org.apache.directory.shared.ldap.name.LdapDN |
getSuffix(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters PartitionNexus.getSuffix(org.apache.directory.shared.ldap.name.LdapDN) call. |
boolean |
hasEntry(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
init(DirectoryServiceConfiguration factoryCfg,
InterceptorConfiguration cfg)
This method does nothing by default. |
boolean |
isSuffix(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.isSuffix(org.apache.directory.shared.ldap.name.LdapDN) call. |
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. |
javax.naming.directory.Attributes |
lookup(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN) call. |
javax.naming.directory.Attributes |
lookup(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
java.lang.String[] attrIds)
Filters Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[]) call. |
void |
modify(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
int modOp,
javax.naming.directory.Attributes attrs)
Filters Partition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes) call. |
void |
modify(NextInterceptor nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] items)
Filters Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]) call. |
void |
modifyRn(NextInterceptor nextInterceptor,
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 nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
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 nextInterceptor,
org.apache.directory.shared.ldap.name.LdapDN name,
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. |
void |
removeContextPartition(NextInterceptor next,
org.apache.directory.shared.ldap.name.LdapDN suffix)
Filters PartitionNexus.removeContextPartition(org.apache.directory.shared.ldap.name.LdapDN) 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 |
---|
getContext, getPrincipal, getRootDSE, listSuffixes, unbind |
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(DirectoryServiceConfiguration 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, org.apache.directory.shared.ldap.name.LdapDN name, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
Interceptor
Partition.add(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes)
call.
add
in interface Interceptor
add
in class BaseInterceptor
javax.naming.NamingException
public void delete(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
Partition.delete(org.apache.directory.shared.ldap.name.LdapDN)
call.
delete
in interface Interceptor
delete
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name, int modOp, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
Interceptor
Partition.modify(org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes)
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modify(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name, org.apache.directory.shared.ldap.message.ModificationItemImpl[] items) throws javax.naming.NamingException
Interceptor
Partition#modify(org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[])
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
javax.naming.NamingException
public void modifyRn(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
Partition.modifyRn(org.apache.directory.shared.ldap.name.LdapDN,String,boolean)
call.
modifyRn
in interface Interceptor
modifyRn
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name, org.apache.directory.shared.ldap.name.LdapDN newParentName) throws javax.naming.NamingException
Interceptor
Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.naming.NamingException
public void move(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name, org.apache.directory.shared.ldap.name.LdapDN newParentName, java.lang.String newRn, boolean deleteOldRn) throws javax.naming.NamingException
Interceptor
Partition.move(org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean)
call.
move
in interface Interceptor
move
in class BaseInterceptor
javax.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
Interceptor
Partition.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 Interceptor
search
in class BaseInterceptor
javax.naming.NamingException
public boolean hasEntry(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[])
call.
hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
javax.naming.NamingException
public boolean isSuffix(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
Partition.isSuffix(org.apache.directory.shared.ldap.name.LdapDN)
call.
isSuffix
in interface Interceptor
isSuffix
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.NamingEnumeration list(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN base) throws javax.naming.NamingException
Interceptor
Partition.list(org.apache.directory.shared.ldap.name.LdapDN)
call.
list
in interface Interceptor
list
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN)
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
javax.naming.NamingException
public javax.naming.directory.Attributes lookup(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name, java.lang.String[] attrIds) throws javax.naming.NamingException
Interceptor
Partition.lookup(org.apache.directory.shared.ldap.name.LdapDN,String[])
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
javax.naming.NamingException
public org.apache.directory.shared.ldap.name.LdapDN getMatchedName(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
PartitionNexus.getMatchedName(org.apache.directory.shared.ldap.name.LdapDN)
call.
getMatchedName
in interface Interceptor
getMatchedName
in class BaseInterceptor
javax.naming.NamingException
public org.apache.directory.shared.ldap.name.LdapDN getSuffix(NextInterceptor nextInterceptor, org.apache.directory.shared.ldap.name.LdapDN name) throws javax.naming.NamingException
Interceptor
PartitionNexus.getSuffix(org.apache.directory.shared.ldap.name.LdapDN)
call.
getSuffix
in interface Interceptor
getSuffix
in class BaseInterceptor
javax.naming.NamingException
public boolean compare(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN name, java.lang.String oid, java.lang.Object value) throws javax.naming.NamingException
Interceptor
PartitionNexus.compare(org.apache.directory.shared.ldap.name.LdapDN,String,Object)
call.
compare
in interface Interceptor
compare
in class BaseInterceptor
javax.naming.NamingException
public void bind(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN bindDn, byte[] credentials, java.util.List mechanisms, java.lang.String saslAuthId) throws javax.naming.NamingException
Interceptor
Partition.bind(org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String)
call.
bind
in interface Interceptor
bind
in class BaseInterceptor
javax.naming.NamingException
public void addContextPartition(NextInterceptor next, PartitionConfiguration cfg) throws javax.naming.NamingException
Interceptor
PartitionNexus.addContextPartition(PartitionConfiguration)
call.
addContextPartition
in interface Interceptor
addContextPartition
in class BaseInterceptor
javax.naming.NamingException
public void removeContextPartition(NextInterceptor next, org.apache.directory.shared.ldap.name.LdapDN suffix) throws javax.naming.NamingException
Interceptor
PartitionNexus.removeContextPartition(org.apache.directory.shared.ldap.name.LdapDN)
call.
removeContextPartition
in interface Interceptor
removeContextPartition
in class BaseInterceptor
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |