Interface CSIv2SSLTaggedComponentHandler


  • public interface CSIv2SSLTaggedComponentHandler
    An implementation of this interface org.omg.CORBA.LocalObject. An instance of this interface is plugged into the ORB via ORB.register_initial_reference(ORBConstants.CSIv2SSLTaggedComponentHandler, instance).
    • Method Detail

      • insert

        TaggedComponent insert​(IORInfo iorInfo,
                               java.util.List<ClusterInstanceInfo> clusterInstanceInfo)
        Parameters:
        iorInfo - - from IORInterceptor.establish_components.
        clusterInstanceInfo - On the server-side, the FOLB system will pass all ClusterInstanceInfo to the CSIv2/SSL system.
        Returns:
        null or org.omg.IOP.TaggedComponent. The CSIv2SSL system returns null if no security information is to be added to IORs. Otherwise it returns the CSIv2SSL org.omg.IOP.TaggedComponent that will be added to IORs.
      • extract

        java.util.List<SocketInfo> extract​(IOR ior)
        Extract is called on each invocation of the IOR, so that the security code can run properly. If the given IOR contains CSIv2SSL host/port info that should be used for this invocation then extract should return a List of SocketInfo. Otherwise it should return null.
        Parameters:
        ior - The target ior of the current invocation.
        Returns:
        List of all SocketInfos found in the IOR.