public class DefaultAuthorizationInterceptor extends BaseInterceptor
Interceptor that controls access to DefaultPartitionNexus.
If a user tries to perform any operations that requires
permission he or she doesn't have, NoPermissionException will be
thrown and therefore the current invocation chain will terminate.| Constructor and Description |
|---|
DefaultAuthorizationInterceptor()
Creates a new instance.
|
add, addContextPartition, bind, compare, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, listSuffixes, removeContextPartition, unbindpublic DefaultAuthorizationInterceptor()
public void init(DirectoryService directoryService) throws Exception
BaseInterceptorinit in interface Interceptorinit in class BaseInterceptorExceptionpublic void delete(NextInterceptor nextInterceptor, DeleteOperationContext opContext) throws Exception
InterceptorPartition.delete( DeleteOperationContext ) call.delete in interface Interceptordelete in class BaseInterceptorExceptionpublic void modify(NextInterceptor nextInterceptor, ModifyOperationContext opContext) throws Exception
modify in interface Interceptormodify in class BaseInterceptorExceptionpublic void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws Exception
InterceptorPartition.rename( RenameOperationContext ) call.rename in interface Interceptorrename in class BaseInterceptorExceptionpublic void move(NextInterceptor nextInterceptor, MoveOperationContext opContext) throws Exception
InterceptorPartition.move( MoveOperationContext ) call.move in interface Interceptormove in class BaseInterceptorExceptionpublic void moveAndRename(NextInterceptor nextInterceptor, MoveAndRenameOperationContext opContext) throws Exception
InterceptorPartition.moveAndRename( MoveAndRenameOperationContext) call.moveAndRename in interface InterceptormoveAndRename in class BaseInterceptorExceptionpublic ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws Exception
InterceptorPartition.lookup( LookupOperationContext ) call.lookup in interface Interceptorlookup in class BaseInterceptorExceptionpublic EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws Exception
InterceptorPartition.search( SearchOperationContext ) call.search in interface Interceptorsearch in class BaseInterceptorExceptionpublic EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws Exception
InterceptorPartition.list( ListOperationContext ) call.list in interface Interceptorlist in class BaseInterceptorExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.