|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.security.propagation.SSHandler
Constructor Summary | |
SSHandler(org.objectweb.jonathan.apis.kernel.Context c,
java.lang.Object[] used_components)
Creates a new SSHandler instance. |
Method Summary | |
org.omg.IOP.ServiceContext |
getReplyContext(int request_id,
org.objectweb.jonathan.apis.kernel.Context kContext)
Returns a reply context. |
org.omg.IOP.ServiceContext |
getRequestContext(int request_id,
boolean response_expected,
byte[] object_key,
org.objectweb.jonathan.apis.kernel.Context kContext)
Returns a request context. |
void |
handleReplyContext(org.omg.IOP.ServiceContext context,
int request_id,
org.objectweb.jonathan.apis.kernel.Context kContext)
This method is called by the services handler to let the operations related to the target service be performed on reply arrival. |
void |
handleRequestContext(org.omg.IOP.ServiceContext context,
int request_id,
boolean response_expected,
byte[] object_key,
org.objectweb.jonathan.apis.kernel.Context kContext)
This method is called by the services handler to let the operations related to the target service be performed on request arrival. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSHandler(org.objectweb.jonathan.apis.kernel.Context c, java.lang.Object[] used_components) throws org.objectweb.jonathan.apis.kernel.JonathanException
Method Detail |
public org.omg.IOP.ServiceContext getRequestContext(int request_id, boolean response_expected, byte[] object_key, org.objectweb.jonathan.apis.kernel.Context kContext)
If sender is not null, this method encodes the security context returned by the sending_request method of the sender, else it returns null.
getRequestContext
in interface org.objectweb.jeremie.services.handler.api.Service
request_id
- the request identifier;response_expected
- unused;object_key
- unused.
public org.omg.IOP.ServiceContext getReplyContext(int request_id, org.objectweb.jonathan.apis.kernel.Context kContext)
this method encodes the security context
returned by its sending_reply
method, else it returns null.
getReplyContext
in interface org.objectweb.jeremie.services.handler.api.Service
request_id
- the corresponding request id.
public void handleRequestContext(org.omg.IOP.ServiceContext context, int request_id, boolean response_expected, byte[] object_key, org.objectweb.jonathan.apis.kernel.Context kContext)
handleRequestContext
in interface org.objectweb.jeremie.services.handler.api.Service
context
- the service context of the request;request_id
- the request identifier;response_expected
- unused;object_key
- unused.public void handleReplyContext(org.omg.IOP.ServiceContext context, int request_id, org.objectweb.jonathan.apis.kernel.Context kContext)
handleReplyContext
in interface org.objectweb.jeremie.services.handler.api.Service
context
- the service context of the reply;request_id
- the corresponding request identifier.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |