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, unbind
public void init(DirectoryService directoryService) throws Exception
init
in interface Interceptor
init
in class BaseInterceptor
Exception
public void destroy()
destroy
in interface Interceptor
destroy
in class BaseInterceptor
public void add(NextInterceptor nextInterceptor, AddOperationContext opContext) throws Exception
Partition.add( AddOperationContext )
call.add
in interface Interceptor
add
in class BaseInterceptor
Exception
public void delete(NextInterceptor nextInterceptor, DeleteOperationContext opContext) throws Exception
Partition.delete( DeleteOperationContext )
call.delete
in interface Interceptor
delete
in class BaseInterceptor
Exception
public void modify(NextInterceptor nextInterceptor, ModifyOperationContext opContext) throws Exception
Partition.modify( ModifyOperationContext )
call.modify
in interface Interceptor
modify
in class BaseInterceptor
Exception
public void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws Exception
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
Exception
public void move(NextInterceptor nextInterceptor, MoveOperationContext opContext) throws Exception
Partition.move( MoveOperationContext )
call.move
in interface Interceptor
move
in class BaseInterceptor
Exception
public void moveAndRename(NextInterceptor nextInterceptor, MoveAndRenameOperationContext opContext) throws Exception
Partition.moveAndRename( MoveAndRenameOperationContext)
call.moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws Exception
Partition.search( SearchOperationContext )
call.search
in interface Interceptor
search
in class BaseInterceptor
Exception
public boolean hasEntry(NextInterceptor nextInterceptor, EntryOperationContext opContext) throws Exception
Partition.hasEntry( EntryOperationContext )
call.hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
Exception
public EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws Exception
Partition.list( ListOperationContext )
call.list
in interface Interceptor
list
in class BaseInterceptor
Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws Exception
Partition.lookup( LookupOperationContext )
call.lookup
in interface Interceptor
lookup
in class BaseInterceptor
Exception
public org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor nextInterceptor, GetMatchedNameOperationContext opContext) throws Exception
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext )
call.getMatchedName
in interface Interceptor
getMatchedName
in class BaseInterceptor
Exception
public org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor nextInterceptor, GetSuffixOperationContext opContext) throws Exception
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext )
call.getSuffix
in interface Interceptor
getSuffix
in class BaseInterceptor
Exception
public boolean compare(NextInterceptor next, CompareOperationContext opContext) throws Exception
DefaultPartitionNexus#compare( CompareOperationContext )
call.compare
in interface Interceptor
compare
in class BaseInterceptor
Exception
public void bind(NextInterceptor next, BindOperationContext opContext) throws Exception
Partition.bind( BindOperationContext )
call.bind
in interface Interceptor
bind
in class BaseInterceptor
Exception
public void addContextPartition(NextInterceptor next, AddContextPartitionOperationContext opContext) throws Exception
DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext )
call.addContextPartition
in interface Interceptor
addContextPartition
in class BaseInterceptor
Exception
public void removeContextPartition(NextInterceptor next, RemoveContextPartitionOperationContext opContext) throws Exception
DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext )
call.removeContextPartition
in interface Interceptor
removeContextPartition
in class BaseInterceptor
Exception
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.