|
||||||||||
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.NormalizationInterceptor
public class NormalizationInterceptor
A name normalization service. This service makes sure all relative and distinguished
names are normalized before calls are made against the respective interface methods
on 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 Summary | |
---|---|
NormalizationInterceptor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
---|
getContext, getName, 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 NormalizationInterceptor()
Method Detail |
---|
public void init(DirectoryService directoryService) throws java.lang.Exception
init
in interface Interceptor
init
in class BaseInterceptor
java.lang.Exception
public void destroy()
destroy
in interface Interceptor
destroy
in class BaseInterceptor
public void add(NextInterceptor nextInterceptor, AddOperationContext opContext) throws java.lang.Exception
Partition.add( AddOperationContext )
call.
add
in interface Interceptor
add
in class BaseInterceptor
java.lang.Exception
public void delete(NextInterceptor nextInterceptor, DeleteOperationContext opContext) throws java.lang.Exception
Partition.delete( DeleteOperationContext )
call.
delete
in interface Interceptor
delete
in class BaseInterceptor
java.lang.Exception
public void modify(NextInterceptor nextInterceptor, ModifyOperationContext opContext) throws java.lang.Exception
Partition.modify( ModifyOperationContext )
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
java.lang.Exception
public void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws java.lang.Exception
Partition.rename( RenameOperationContext )
call.
rename
in interface Interceptor
rename
in class BaseInterceptor
java.lang.Exception
public void move(NextInterceptor nextInterceptor, MoveOperationContext opContext) throws java.lang.Exception
Partition.move( MoveOperationContext )
call.
move
in interface Interceptor
move
in class BaseInterceptor
java.lang.Exception
public void moveAndRename(NextInterceptor nextInterceptor, MoveAndRenameOperationContext opContext) throws java.lang.Exception
Partition.moveAndRename( MoveAndRenameOperationContext)
call.
moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
java.lang.Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws java.lang.Exception
Partition.search( SearchOperationContext )
call.
search
in interface Interceptor
search
in class BaseInterceptor
java.lang.Exception
public boolean hasEntry(NextInterceptor nextInterceptor, EntryOperationContext opContext) throws java.lang.Exception
Partition.hasEntry( EntryOperationContext )
call.
hasEntry
in interface Interceptor
hasEntry
in class BaseInterceptor
java.lang.Exception
public EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws java.lang.Exception
Partition.list( ListOperationContext )
call.
list
in interface Interceptor
list
in class BaseInterceptor
java.lang.Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws java.lang.Exception
Partition.lookup( LookupOperationContext )
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
java.lang.Exception
public org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor nextInterceptor, GetMatchedNameOperationContext opContext) throws java.lang.Exception
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext )
call.
getMatchedName
in interface Interceptor
getMatchedName
in class BaseInterceptor
java.lang.Exception
public org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor nextInterceptor, GetSuffixOperationContext opContext) throws java.lang.Exception
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext )
call.
getSuffix
in interface Interceptor
getSuffix
in class BaseInterceptor
java.lang.Exception
public boolean compare(NextInterceptor next, CompareOperationContext opContext) throws java.lang.Exception
DefaultPartitionNexus#compare( CompareOperationContext )
call.
compare
in interface Interceptor
compare
in class BaseInterceptor
java.lang.Exception
public void bind(NextInterceptor next, BindOperationContext opContext) throws java.lang.Exception
Partition.bind( BindOperationContext )
call.
bind
in interface Interceptor
bind
in class BaseInterceptor
java.lang.Exception
public void addContextPartition(NextInterceptor next, AddContextPartitionOperationContext opContext) throws java.lang.Exception
DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext )
call.
addContextPartition
in interface Interceptor
addContextPartition
in class BaseInterceptor
java.lang.Exception
public void removeContextPartition(NextInterceptor next, RemoveContextPartitionOperationContext opContext) throws java.lang.Exception
DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext )
call.
removeContextPartition
in interface Interceptor
removeContextPartition
in class BaseInterceptor
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |