public class AciAuthorizationInterceptor extends BaseInterceptor
| Modifier and Type | Field and Description |
|---|---|
static SearchControls |
DEFAULT_SEARCH_CONTROLS |
| Constructor and Description |
|---|
AciAuthorizationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(NextInterceptor next,
AddOperationContext addContext)
Filters
Partition.add( AddOperationContext ) call. |
void |
cacheNewGroup(org.apache.directory.shared.ldap.name.DN name,
org.apache.directory.shared.ldap.entry.ServerEntry entry) |
boolean |
compare(NextInterceptor next,
CompareOperationContext opContext)
Filters
DefaultPartitionNexus#compare( CompareOperationContext ) call. |
void |
delete(NextInterceptor next,
DeleteOperationContext deleteContext)
Filters
Partition.delete( DeleteOperationContext ) call. |
org.apache.directory.shared.ldap.name.DN |
getMatchedName(NextInterceptor next,
GetMatchedNameOperationContext opContext)
Filters
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext ) call. |
boolean |
hasEntry(NextInterceptor next,
EntryOperationContext entryContext)
Filters
Partition.hasEntry( EntryOperationContext ) call. |
void |
init(DirectoryService directoryService)
Initializes this interceptor based service by getting a handle on the nexus, setting up
the tupe and group membership caches and the ACIItem parser and the ACDF engine.
|
boolean |
isPrincipalAnAdministrator(org.apache.directory.shared.ldap.name.DN principalDn) |
EntryFilteringCursor |
list(NextInterceptor next,
ListOperationContext opContext)
Filters
Partition.list( ListOperationContext ) call. |
ClonedServerEntry |
lookup(NextInterceptor next,
LookupOperationContext lookupContext)
Filters
Partition.lookup( LookupOperationContext ) call. |
void |
modify(NextInterceptor next,
ModifyOperationContext opContext)
Filters
Partition.modify( ModifyOperationContext ) call. |
void |
move(NextInterceptor next,
MoveOperationContext moveContext)
Filters
Partition.move( MoveOperationContext ) call. |
void |
moveAndRename(NextInterceptor next,
MoveAndRenameOperationContext moveAndRenameContext)
Filters
Partition.moveAndRename( MoveAndRenameOperationContext) call. |
void |
rename(NextInterceptor next,
RenameOperationContext renameContext)
Filters
Partition.rename( RenameOperationContext ) call. |
EntryFilteringCursor |
search(NextInterceptor next,
SearchOperationContext opContext)
Filters
Partition.search( SearchOperationContext ) call. |
addContextPartition, bind, destroy, getContext, getName, getPrincipal, getRootDSE, getSuffix, listSuffixes, removeContextPartition, unbindpublic static final SearchControls DEFAULT_SEARCH_CONTROLS
public void init(DirectoryService directoryService) throws Exception
init in interface Interceptorinit in class BaseInterceptordirectoryService - the directory service coreException - if there are problems during initializationpublic void add(NextInterceptor next, AddOperationContext addContext) throws Exception
InterceptorPartition.add( AddOperationContext ) call.add in interface Interceptoradd in class BaseInterceptorExceptionpublic void delete(NextInterceptor next, DeleteOperationContext deleteContext) throws Exception
InterceptorPartition.delete( DeleteOperationContext ) call.delete in interface Interceptordelete in class BaseInterceptorExceptionpublic void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
InterceptorPartition.modify( ModifyOperationContext ) call.modify in interface Interceptormodify in class BaseInterceptorExceptionpublic boolean hasEntry(NextInterceptor next, EntryOperationContext entryContext) throws Exception
InterceptorPartition.hasEntry( EntryOperationContext ) call.hasEntry in interface InterceptorhasEntry in class BaseInterceptorExceptionpublic ClonedServerEntry lookup(NextInterceptor next, LookupOperationContext lookupContext) throws Exception
InterceptorPartition.lookup( LookupOperationContext ) call.lookup in interface Interceptorlookup in class BaseInterceptorExceptionpublic void rename(NextInterceptor next, RenameOperationContext renameContext) throws Exception
InterceptorPartition.rename( RenameOperationContext ) call.rename in interface Interceptorrename in class BaseInterceptorExceptionpublic void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext moveAndRenameContext) throws Exception
InterceptorPartition.moveAndRename( MoveAndRenameOperationContext) call.moveAndRename in interface InterceptormoveAndRename in class BaseInterceptorExceptionpublic void move(NextInterceptor next, MoveOperationContext moveContext) throws Exception
InterceptorPartition.move( MoveOperationContext ) call.move in interface Interceptormove in class BaseInterceptorExceptionpublic EntryFilteringCursor list(NextInterceptor next, ListOperationContext opContext) throws Exception
InterceptorPartition.list( ListOperationContext ) call.list in interface Interceptorlist in class BaseInterceptorExceptionpublic EntryFilteringCursor search(NextInterceptor next, SearchOperationContext opContext) throws Exception
InterceptorPartition.search( SearchOperationContext ) call.search in interface Interceptorsearch in class BaseInterceptorExceptionpublic final boolean isPrincipalAnAdministrator(org.apache.directory.shared.ldap.name.DN principalDn)
public boolean compare(NextInterceptor next, CompareOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#compare( CompareOperationContext ) call.compare in interface Interceptorcompare in class BaseInterceptorExceptionpublic org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor next, GetMatchedNameOperationContext opContext) throws Exception
InterceptorDefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext ) call.getMatchedName in interface InterceptorgetMatchedName in class BaseInterceptorExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.