Package org.wildfly.iiop.openjdk.csiv2
Class CSIv2Policy
java.lang.Object
org.omg.CORBA.LocalObject
org.wildfly.iiop.openjdk.csiv2.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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCSIv2Policy(org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData metadata, org.omg.IOP.Codec codec) Creates an instance ofCSIv2Policywith the specified metadata and codec.CSIv2Policy(org.omg.IOP.TaggedComponent sslTaggedComponent, org.omg.IOP.TaggedComponent secTaggedComponent) Creates an instance ofCSIv2Policywith the specified tagged components. -
Method Summary
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_connectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
-
Constructor Details
-
CSIv2Policy
public CSIv2Policy(org.omg.IOP.TaggedComponent sslTaggedComponent, org.omg.IOP.TaggedComponent secTaggedComponent) Creates an instance of
CSIv2Policywith the specified tagged components.- Parameters:
sslTaggedComponent- aTaggedComponentthat contains the encoded SSL info.secTaggedComponent- aTaggedComponentthat 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
CSIv2Policywith the specified metadata and codec.- Parameters:
metadata- an object containing all the CSIv2 security info.codec- theCodecused to encode the metadata when creating the tagged components.
-
-
Method Details
-
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:
copyin interfaceorg.omg.CORBA.PolicyOperations
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.omg.CORBA.PolicyOperations
-
policy_type
public int policy_type()- Specified by:
policy_typein interfaceorg.omg.CORBA.PolicyOperations
-
toString
-