|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.interceptor.BaseInterceptor
org.apache.ldap.server.authz.AuthorizationService
An Interceptor
that controls access to BackingStore
operations. If a user tries to perform any operations that requires
permission he or she doesn't have, NamingException
will be
thrown and therefore the current invocation chain will terminate.
Constructor Summary | |
AuthorizationService()
Creates an authorization service interceptor. |
Method Summary | |
void |
destroy()
Deinitializes this interceptor. |
void |
init(InterceptorContext ctx)
Intializes this interceptor. |
protected void |
process(NextInterceptor nextInterceptor,
Delete call)
|
protected void |
process(NextInterceptor nextInterceptor,
HasEntry call)
Note that we do nothing here. |
void |
process(NextInterceptor nextInterceptor,
Invocation call)
Uses a switch on the invocation method type to call the respective member analog method that does the work of the Interceptor for that Invocation method. |
protected void |
process(NextInterceptor nextInterceptor,
List call)
|
protected void |
process(NextInterceptor nextInterceptor,
Lookup call)
|
protected void |
process(NextInterceptor nextInterceptor,
LookupWithAttrIds call)
|
protected void |
process(NextInterceptor nextInterceptor,
Modify call)
This policy needs to be really tight too because some attributes may take part in giving the user permissions to protected resources. |
protected void |
process(NextInterceptor nextInterceptor,
ModifyMany call)
This policy needs to be really tight too because some attributes may take part in giving the user permissions to protected resources. |
protected void |
process(NextInterceptor nextInterceptor,
ModifyRN call)
|
protected void |
process(NextInterceptor nextInterceptor,
Move call)
|
protected void |
process(NextInterceptor nextInterceptor,
MoveAndModifyRN call)
|
protected void |
process(NextInterceptor nextInterceptor,
Search call)
|
Methods inherited from class org.apache.ldap.server.interceptor.BaseInterceptor |
getPrincipal, process, process, process, process, process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AuthorizationService()
Method Detail |
public void init(InterceptorContext ctx) throws javax.naming.NamingException
Interceptor
ctx
- the configuration properties for this interceptor
javax.naming.NamingException
- if failed to initialize this interceptorpublic void destroy()
Interceptor
public void process(NextInterceptor nextInterceptor, Invocation call) throws javax.naming.NamingException
BaseInterceptor
process
in interface Interceptor
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, Delete call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, HasEntry call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, Modify call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, ModifyMany call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, ModifyRN call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, Move call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, MoveAndModifyRN call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, Lookup call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, LookupWithAttrIds call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, Search call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
protected void process(NextInterceptor nextInterceptor, List call) throws javax.naming.NamingException
process
in class BaseInterceptor
javax.naming.NamingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |