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, unbind
public DefaultAuthorizationInterceptor()
public void init(DirectoryService directoryService) throws Exception
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
Exception
public void delete(NextInterceptor nextInterceptor, DeleteOperationContext opContext) throws Exception
Interceptor
Partition.delete( DeleteOperationContext )
call.delete
in interface Interceptor
delete
in class BaseInterceptor
Exception
public void modify(NextInterceptor nextInterceptor, ModifyOperationContext opContext) throws Exception
modify
in interface Interceptor
modify
in class BaseInterceptor
Exception
public void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws Exception
Interceptor
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
Exception
public void move(NextInterceptor nextInterceptor, MoveOperationContext opContext) throws Exception
Interceptor
Partition.move( MoveOperationContext )
call.move
in interface Interceptor
move
in class BaseInterceptor
Exception
public void moveAndRename(NextInterceptor nextInterceptor, MoveAndRenameOperationContext opContext) throws Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws Exception
Interceptor
Partition.lookup( LookupOperationContext )
call.lookup
in interface Interceptor
lookup
in class BaseInterceptor
Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws Exception
Interceptor
Partition.search( SearchOperationContext )
call.search
in interface Interceptor
search
in class BaseInterceptor
Exception
public EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws Exception
Interceptor
Partition.list( ListOperationContext )
call.list
in interface Interceptor
list
in class BaseInterceptor
Exception
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.