Class CSIv2Policy

  • All Implemented Interfaces:
    Serializable, org.omg.CORBA.Object, org.omg.CORBA.Policy, org.omg.CORBA.PolicyOperations, org.omg.CORBA.portable.IDLEntity

    public class CSIv2Policy
    extends org.omg.CORBA.LocalObject
    implements org.omg.CORBA.Policy

    Implements a org.omg.CORBA.Policy that stores CSIv2 IOR security info.

    Author:
    Francisco Reverbel, Stefan Guilhen
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int TYPE  
    • Constructor Summary

      Constructors 
      Constructor Description
      CSIv2Policy​(org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData metadata, org.omg.IOP.Codec codec)
      Creates an instance of CSIv2Policy with the specified metadata and codec.
      CSIv2Policy​(org.omg.IOP.TaggedComponent sslTaggedComponent, org.omg.IOP.TaggedComponent secTaggedComponent)
      Creates an instance of CSIv2Policy with the specified tagged components.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.omg.CORBA.Policy copy()  
      void destroy()  
      org.omg.IOP.TaggedComponent getSecurityTaggedComponent()
      Return a copy of the cached CSI TaggedComponent.
      org.omg.IOP.TaggedComponent getSSLTaggedComponent()
      Return a copy of the cached SSL TaggedComponent.
      int policy_type()  
      String toString()  
      • Methods inherited from class org.omg.CORBA.LocalObject

        _create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _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 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

      • CSIv2Policy

        public CSIv2Policy​(org.omg.IOP.TaggedComponent sslTaggedComponent,
                           org.omg.IOP.TaggedComponent secTaggedComponent)

        Creates an instance of CSIv2Policy with the specified tagged components.

        Parameters:
        sslTaggedComponent - a TaggedComponent that contains the encoded SSL info.
        secTaggedComponent - a TaggedComponent that contains the encoded CSIv2 security info.
      • CSIv2Policy

        public CSIv2Policy​(org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData metadata,
                           org.omg.IOP.Codec codec)

        Creates an instance of CSIv2Policy with the specified metadata and codec.

        Parameters:
        metadata - an object containing all the CSIv2 security info.
        codec - the Codec used to encode the metadata when creating the tagged components.
    • Method Detail

      • getSSLTaggedComponent

        public org.omg.IOP.TaggedComponent getSSLTaggedComponent()

        Return a copy of the cached SSL TaggedComponent.

        Returns:
        a copy of the cached SSL TaggedComponent.
      • getSecurityTaggedComponent

        public org.omg.IOP.TaggedComponent getSecurityTaggedComponent()

        Return a copy of the cached CSI TaggedComponent.

        Returns:
        a copy of the cached CSI TaggedComponent.
      • copy

        public org.omg.CORBA.Policy copy()
        Specified by:
        copy in interface org.omg.CORBA.PolicyOperations
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.omg.CORBA.PolicyOperations
      • policy_type

        public int policy_type()
        Specified by:
        policy_type in interface org.omg.CORBA.PolicyOperations