public class NormalizationInterceptor extends BaseInterceptor
DefaultPartitionNexus.
The Filters are also normalized.
If the RDN AttributeTypes are not present in the entry for an Add request,
they will be added.| Constructor and Description |
|---|
NormalizationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(NextInterceptor nextInterceptor,
AddOperationContext opContext)
Filters
Partition.add( AddOperationContext ) call. |
void |
addContextPartition(NextInterceptor next,
AddContextPartitionOperationContext opContext)
Filters
DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext ) call. |
void |
bind(NextInterceptor next,
BindOperationContext opContext)
Filters
Partition.bind( BindOperationContext ) call. |
boolean |
compare(NextInterceptor next,
CompareOperationContext opContext)
Filters
DefaultPartitionNexus#compare( CompareOperationContext ) call. |
void |
delete(NextInterceptor nextInterceptor,
DeleteOperationContext opContext)
Filters
Partition.delete( DeleteOperationContext ) call. |
void |
destroy()
The destroy method does nothing
|
org.apache.directory.shared.ldap.name.DN |
getMatchedName(NextInterceptor nextInterceptor,
GetMatchedNameOperationContext opContext)
Filters
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext ) call. |
org.apache.directory.shared.ldap.name.DN |
getSuffix(NextInterceptor nextInterceptor,
GetSuffixOperationContext opContext)
Filters
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext ) call. |
boolean |
hasEntry(NextInterceptor nextInterceptor,
EntryOperationContext opContext)
Filters
Partition.hasEntry( EntryOperationContext ) call. |
void |
init(DirectoryService directoryService)
Initialize the registries, normalizers.
|
EntryFilteringCursor |
list(NextInterceptor nextInterceptor,
ListOperationContext opContext)
Filters
Partition.list( ListOperationContext ) call. |
ClonedServerEntry |
lookup(NextInterceptor nextInterceptor,
LookupOperationContext opContext)
Filters
Partition.lookup( LookupOperationContext ) call. |
void |
modify(NextInterceptor nextInterceptor,
ModifyOperationContext opContext)
Filters
Partition.modify( ModifyOperationContext ) call. |
void |
move(NextInterceptor nextInterceptor,
MoveOperationContext opContext)
Filters
Partition.move( MoveOperationContext ) call. |
void |
moveAndRename(NextInterceptor nextInterceptor,
MoveAndRenameOperationContext opContext)
Filters
Partition.moveAndRename( MoveAndRenameOperationContext) call. |
void |
removeContextPartition(NextInterceptor next,
RemoveContextPartitionOperationContext opContext)
Filters
DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext ) call. |
void |
rename(NextInterceptor nextInterceptor,
RenameOperationContext opContext)
Filters
Partition.rename( RenameOperationContext ) call. |
EntryFilteringCursor |
search(NextInterceptor nextInterceptor,
SearchOperationContext opContext)
Filters
Partition.search( SearchOperationContext ) call. |
getContext, getName, getPrincipal, getRootDSE, listSuffixes, unbindpublic void init(DirectoryService directoryService) throws Exception
init in interface Interceptorinit in class BaseInterceptorExceptionpublic void destroy()
destroy in interface Interceptordestroy in class BaseInterceptorpublic void add(NextInterceptor nextInterceptor, AddOperationContext opContext) throws Exception
Partition.add( AddOperationContext ) call.add in interface Interceptoradd in class BaseInterceptorExceptionpublic void delete(NextInterceptor nextInterceptor, DeleteOperationContext opContext) throws Exception
Partition.delete( DeleteOperationContext ) call.delete in interface Interceptordelete in class BaseInterceptorExceptionpublic void modify(NextInterceptor nextInterceptor, ModifyOperationContext opContext) throws Exception
Partition.modify( ModifyOperationContext ) call.modify in interface Interceptormodify in class BaseInterceptorExceptionpublic void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws Exception
Partition.rename( RenameOperationContext ) call.rename in interface Interceptorrename in class BaseInterceptorExceptionpublic void move(NextInterceptor nextInterceptor, MoveOperationContext opContext) throws Exception
Partition.move( MoveOperationContext ) call.move in interface Interceptormove in class BaseInterceptorExceptionpublic void moveAndRename(NextInterceptor nextInterceptor, MoveAndRenameOperationContext opContext) throws Exception
Partition.moveAndRename( MoveAndRenameOperationContext) call.moveAndRename in interface InterceptormoveAndRename in class BaseInterceptorExceptionpublic EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws Exception
Partition.search( SearchOperationContext ) call.search in interface Interceptorsearch in class BaseInterceptorExceptionpublic boolean hasEntry(NextInterceptor nextInterceptor, EntryOperationContext opContext) throws Exception
Partition.hasEntry( EntryOperationContext ) call.hasEntry in interface InterceptorhasEntry in class BaseInterceptorExceptionpublic EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws Exception
Partition.list( ListOperationContext ) call.list in interface Interceptorlist in class BaseInterceptorExceptionpublic ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws Exception
Partition.lookup( LookupOperationContext ) call.lookup in interface Interceptorlookup in class BaseInterceptorExceptionpublic org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor nextInterceptor, GetMatchedNameOperationContext opContext) throws Exception
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext ) call.getMatchedName in interface InterceptorgetMatchedName in class BaseInterceptorExceptionpublic org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor nextInterceptor, GetSuffixOperationContext opContext) throws Exception
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext ) call.getSuffix in interface InterceptorgetSuffix in class BaseInterceptorExceptionpublic boolean compare(NextInterceptor next, CompareOperationContext opContext) throws Exception
DefaultPartitionNexus#compare( CompareOperationContext ) call.compare in interface Interceptorcompare in class BaseInterceptorExceptionpublic void bind(NextInterceptor next, BindOperationContext opContext) throws Exception
Partition.bind( BindOperationContext ) call.bind in interface Interceptorbind in class BaseInterceptorExceptionpublic void addContextPartition(NextInterceptor next, AddContextPartitionOperationContext opContext) throws Exception
DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext ) call.addContextPartition in interface InterceptoraddContextPartition in class BaseInterceptorExceptionpublic void removeContextPartition(NextInterceptor next, RemoveContextPartitionOperationContext opContext) throws Exception
DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext ) call.removeContextPartition in interface InterceptorremoveContextPartition in class BaseInterceptorExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.