| java.lang.Object org.objectweb.security.propagation.SSHandler
SSHandler | public class SSHandler implements Service(Code) | | |
Constructor Summary | |
public | SSHandler(Context c, Object[] used_components) Creates a new SSHandler instance. |
Method Summary | |
public ServiceContext | getReplyContext(int request_id, Context kContext) Returns a reply context.
this method encodes the security context
returned by its sending_reply method, else it returns null.
Parameters: request_id - the corresponding request id. | public ServiceContext | getRequestContext(int request_id, boolean response_expected, byte[] object_key, Context kContext) Returns a request context.
If sender is not null, this method encodes the security context
returned by the sending_request method of the sender, else it returns null.
Parameters: request_id - the request identifier; Parameters: response_expected - unused; Parameters: object_key - unused. | public void | handleReplyContext(ServiceContext context, int request_id, Context kContext) This method is called by the services handler to let the operations
related to the target service be performed on reply arrival. | public void | handleRequestContext(ServiceContext context, int request_id, boolean response_expected, byte[] object_key, Context kContext) This method is called by the services handler to let the operations
related to the target service be performed on request arrival. |
SSHandler | public SSHandler(Context c, Object[] used_components) throws JonathanException(Code) | | Creates a new SSHandler instance.
|
getReplyContext | public ServiceContext getReplyContext(int request_id, Context kContext)(Code) | | Returns a reply context.
this method encodes the security context
returned by its sending_reply method, else it returns null.
Parameters: request_id - the corresponding request id. a service context. |
getRequestContext | public ServiceContext getRequestContext(int request_id, boolean response_expected, byte[] object_key, Context kContext)(Code) | | Returns a request context.
If sender is not null, this method encodes the security context
returned by the sending_request method of the sender, else it returns null.
Parameters: request_id - the request identifier; Parameters: response_expected - unused; Parameters: object_key - unused. a service context. |
handleReplyContext | public void handleReplyContext(ServiceContext context, int request_id, Context kContext)(Code) | | This method is called by the services handler to let the operations
related to the target service be performed on reply arrival.
Parameters: context - the service context of the reply; Parameters: request_id - the corresponding request identifier. |
handleRequestContext | public void handleRequestContext(ServiceContext context, int request_id, boolean response_expected, byte[] object_key, Context kContext)(Code) | | This method is called by the services handler to let the operations
related to the target service be performed on request arrival.
Parameters: context - the service context of the request; Parameters: request_id - the request identifier; Parameters: response_expected - unused; Parameters: object_key - unused. |
|
|