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.PolicyImplements a
org.omg.CORBA.Policythat stores CSIv2 IOR security info.- Author:
- Francisco Reverbel, Stefan Guilhen
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intTYPE
-
Constructor Summary
Constructors Constructor Description CSIv2Policy(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.omg.CORBA.Policycopy()voiddestroy()org.omg.IOP.TaggedComponentgetSecurityTaggedComponent()Return a copy of the cached CSITaggedComponent.org.omg.IOP.TaggedComponentgetSSLTaggedComponent()Return a copy of the cached SSLTaggedComponent.intpolicy_type()StringtoString()-
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
-
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 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:
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
-
-