org.ow2.jonas.security.iiop
Class Csiv2IorInterceptor

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.ow2.jonas.security.iiop.Csiv2IorInterceptor
All Implemented Interfaces:
Serializable, Object, IDLEntity, Interceptor, InterceptorOperations, IORInterceptor, IORInterceptorOperations

public class Csiv2IorInterceptor
extends LocalObject
implements IORInterceptor

IOR interceptor for the supports of CSiv2 level 0 as described by chapter 19.8.2.5 Stateful support is not require for level 0

Author:
Florent Benoit
See Also:
Secure Interoperability V2 Specification (July 23,2001), Serialized Form

Constructor Summary
Csiv2IorInterceptor(Codec codec, org.objectweb.util.monolog.api.Logger logger, org.objectweb.util.monolog.api.Logger loggerDetails)
          Constructor
 
Method Summary
 void destroy()
          Provides an opportunity to destroy this interceptor.
 void establish_components(IORInfo info)
          Check if there is a CSI v2 policy and there is one add the csiv2 component into the IOR.
 String name()
          Returns the name of the interceptor.
 
Methods inherited from class org.omg.CORBA.LocalObject
_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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_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
 

Constructor Detail

Csiv2IorInterceptor

public Csiv2IorInterceptor(Codec codec,
                           org.objectweb.util.monolog.api.Logger logger,
                           org.objectweb.util.monolog.api.Logger loggerDetails)
Constructor

Parameters:
codec - used for encoding any objects
logger - used for logging useful information
loggerDetails - for all information (useless for most time :)
Method Detail

establish_components

public void establish_components(IORInfo info)
Check if there is a CSI v2 policy and there is one add the csiv2 component into the IOR. The tagged Component is built from information of csiv2 policy object

Specified by:
establish_components in interface IORInterceptorOperations
See Also:
IORInterceptorOperations.establish_components(org.omg.PortableInterceptor.IORInfo)

destroy

public void destroy()
Provides an opportunity to destroy this interceptor.

Specified by:
destroy in interface InterceptorOperations

name

public String name()
Returns the name of the interceptor.

Specified by:
name in interface InterceptorOperations
Returns:
the name of the interceptor.


Copyright © 2010 OW2 Consortium. All Rights Reserved.