|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lightdev.app.fileserver.http.AuthorisationInterceptor
public class AuthorisationInterceptor
An object of class AuthorisationInterceptor can be used
to intercept XML-RPC method calls in the context of the
Redstone XML-RPC library.
Calls are inspected for a proper session id. Without
such id calls are rejected.
| Field Summary | |
|---|---|
static String |
ROLE_ID_FILE_MANAGER
|
| Constructor Summary | |
|---|---|
AuthorisationInterceptor(Gatekeeper g)
create a new instance of class AuthorisationInterceptor |
|
| Method Summary | |
|---|---|
Object |
after(XmlRpcInvocation incovation,
Object returnValue)
what to do after method invocation and prior return from this interceptor. |
boolean |
before(XmlRpcInvocation invocation)
Inspect method invocation for proper session ids. |
void |
onException(XmlRpcInvocation arg0,
Throwable arg1)
handle an exception, unused here |
void |
setGatekeeper(Gatekeeper gatekeeper)
set the gatekeeper object to use for session validation |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ROLE_ID_FILE_MANAGER
| Constructor Detail |
|---|
public AuthorisationInterceptor(Gatekeeper g)
g - the gatekeeper to use for session validation| Method Detail |
|---|
public void setGatekeeper(Gatekeeper gatekeeper)
gatekeeper - the gatekeeper to use to validate sessions
public Object after(XmlRpcInvocation incovation,
Object returnValue)
after in interface XmlRpcInvocationInterceptorpublic boolean before(XmlRpcInvocation invocation)
before in interface XmlRpcInvocationInterceptor
public void onException(XmlRpcInvocation arg0,
Throwable arg1)
onException in interface XmlRpcInvocationInterceptor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||