|
||||||||||
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.authz.DefaultAuthorizationInterceptor
public class DefaultAuthorizationInterceptor
An Interceptor
that controls access to PartitionNexus
.
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 Summary | |
---|---|
DefaultAuthorizationInterceptor()
Creates a new instance. |
Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
---|
add, addContextPartition, bind, compare, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, listSuffixes, removeContextPartition, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAuthorizationInterceptor()
Method Detail |
---|
public void init(DirectoryService directoryService) throws java.lang.Exception
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
java.lang.Exception
public void delete(NextInterceptor nextInterceptor, DeleteOperationContext opContext) throws java.lang.Exception
Interceptor
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
modify
in interface Interceptor
modify
in class BaseInterceptor
java.lang.Exception
public void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws java.lang.Exception
Interceptor
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
Interceptor
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
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.
moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
java.lang.Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.lookup( LookupOperationContext )
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
java.lang.Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.search( SearchOperationContext )
call.
search
in interface Interceptor
search
in class BaseInterceptor
java.lang.Exception
public EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.list( ListOperationContext )
call.
list
in interface Interceptor
list
in class BaseInterceptor
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |