org.jacorb.security.sas

Class SASClientInterceptor

Implemented Interfaces:
ClientRequestInterceptor, ClientRequestInterceptorOperations, Configurable, IDLEntity, Interceptor, InterceptorOperations, Object, java.io.Serializable

public class SASClientInterceptor
extends LocalObject
implements ClientRequestInterceptor, Configurable

This is the SAS Client Security Service (CSS) Interceptor

Version:
$Id: SASClientInterceptor.java,v 1.23 2004/05/07 13:08:29 david.robison Exp $

Author:
David Robison

Field Summary

protected String
DEFAULT_NAME
protected static int
SecurityAttributeService
protected Hashtable
atlasCache
protected Codec
codec
protected byte[]
contextToken
protected String
name
protected ISASContext
sasContext
protected boolean
useStateful

Constructor Summary

SASClientInterceptor(ORBInitInfo info)

Method Summary

void
configure(Configuration configuration)
void
destroy()
protected AuthorizationElement[]
getATLASTokens(ORB orb, CompoundSecMechList csmList)
protected Any
makeEstablishContext(ORB orb, long client_context_id, AuthorizationElement authorization_token, IdentityToken identity_token, byte[] client_authentication_token)
protected Any
makeMessageInContext(ORB orb, long client_context_id, boolean discard_context)
String
name()
void
receive_exception(ClientRequestInfo ri)
void
receive_other(ClientRequestInfo ri)
void
receive_reply(ClientRequestInfo ri)
void
send_poll(ClientRequestInfo ri)
void
send_request(ClientRequestInfo ri)
void
setContextToken(byte[] contextToken)

Methods inherited from class org.omg.CORBA.LocalObject

_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection

Field Details

DEFAULT_NAME

protected final String DEFAULT_NAME


SecurityAttributeService

protected static final int SecurityAttributeService

Field Value:
15


atlasCache

protected Hashtable atlasCache


codec

protected Codec codec


contextToken

protected byte[] contextToken


name

protected String name


sasContext

protected ISASContext sasContext


useStateful

protected boolean useStateful

Constructor Details

SASClientInterceptor

public SASClientInterceptor(ORBInitInfo info)
            throws UnknownEncoding,
                   ConfigurationException

Method Details

configure

public void configure(Configuration configuration)
            throws ConfigurationException


destroy

public void destroy()
Specified by:
destroy in interface InterceptorOperations


getATLASTokens

protected AuthorizationElement[] getATLASTokens(ORB orb,
                                                CompoundSecMechList csmList)
            throws NO_PERMISSION


makeEstablishContext

protected Any makeEstablishContext(ORB orb,
                                   long client_context_id,
                                   AuthorizationElement authorization_token,
                                   IdentityToken identity_token,
                                   byte[] client_authentication_token)


makeMessageInContext

protected Any makeMessageInContext(ORB orb,
                                   long client_context_id,
                                   boolean discard_context)


name

public String name()
Specified by:
name in interface InterceptorOperations


receive_exception

public void receive_exception(ClientRequestInfo ri)
            throws ForwardRequest
Specified by:
receive_exception in interface ClientRequestInterceptorOperations


receive_other

public void receive_other(ClientRequestInfo ri)
            throws ForwardRequest
Specified by:
receive_other in interface ClientRequestInterceptorOperations


receive_reply

public void receive_reply(ClientRequestInfo ri)
Specified by:
receive_reply in interface ClientRequestInterceptorOperations


send_poll

public void send_poll(ClientRequestInfo ri)
Specified by:
send_poll in interface ClientRequestInterceptorOperations


send_request

public void send_request(ClientRequestInfo ri)
            throws ForwardRequest
Specified by:
send_request in interface ClientRequestInterceptorOperations


setContextToken

public void setContextToken(byte[] contextToken)