public class SASTargetInterceptor extends LocalObject implements ServerRequestInterceptor, Configurable
Modifier and Type | Field and Description |
---|---|
protected int |
clientUserNameSlotID |
protected Codec |
codec |
protected ORB |
orb |
protected ISASContext |
sasContext |
protected int |
sasContextsCubby |
protected int |
sasReplySlotID |
protected boolean |
useSsl |
Constructor and Description |
---|
SASTargetInterceptor(ORBInitInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
cacheSASContext(GIOPConnection connection,
long client_context_id,
byte[] client_authentication_token,
String principalName) |
void |
configure(Configuration configuration) |
void |
destroy() |
byte[] |
getSASContext(GIOPConnection connection,
long client_context_id) |
String |
getSASContextPrincipalName(GIOPConnection connection,
long client_context_id) |
protected Any |
makeCompleteEstablishContext(ServerRequestInfo ri,
long client_context_id,
SASPolicyValues sasValues) |
protected Any |
makeContextError(ServerRequestInfo ri,
long client_context_id,
int major_status,
int minor_status,
byte[] error_token) |
String |
name() |
void |
purgeSASContext(GIOPConnection connection,
long client_context_id) |
void |
receive_request_service_contexts(ServerRequestInfo sri) |
void |
receive_request(ServerRequestInfo sri) |
void |
send_exception(ServerRequestInfo ri) |
void |
send_other(ServerRequestInfo ri) |
void |
send_reply(ServerRequestInfo ri) |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
protected ORB orb
protected Codec codec
protected int sasReplySlotID
protected int clientUserNameSlotID
protected int sasContextsCubby
protected boolean useSsl
protected ISASContext sasContext
public SASTargetInterceptor(ORBInitInfo info) throws UnknownEncoding, ConfigurationException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public String name()
name
in interface InterceptorOperations
public void destroy()
destroy
in interface InterceptorOperations
public void receive_request_service_contexts(ServerRequestInfo sri) throws ForwardRequest
receive_request_service_contexts
in interface ServerRequestInterceptorOperations
ForwardRequest
public void receive_request(ServerRequestInfo sri) throws ForwardRequest
receive_request
in interface ServerRequestInterceptorOperations
ForwardRequest
public void send_reply(ServerRequestInfo ri)
send_reply
in interface ServerRequestInterceptorOperations
public void send_exception(ServerRequestInfo ri) throws ForwardRequest
send_exception
in interface ServerRequestInterceptorOperations
ForwardRequest
public void send_other(ServerRequestInfo ri) throws ForwardRequest
send_other
in interface ServerRequestInterceptorOperations
ForwardRequest
protected Any makeCompleteEstablishContext(ServerRequestInfo ri, long client_context_id, SASPolicyValues sasValues)
protected Any makeContextError(ServerRequestInfo ri, long client_context_id, int major_status, int minor_status, byte[] error_token)
public void cacheSASContext(GIOPConnection connection, long client_context_id, byte[] client_authentication_token, String principalName)
public void purgeSASContext(GIOPConnection connection, long client_context_id)
public byte[] getSASContext(GIOPConnection connection, long client_context_id)
public String getSASContextPrincipalName(GIOPConnection connection, long client_context_id)
Copyright © 2017 JacORB. All rights reserved.