public class CSIv2Policy extends LocalObject implements Policy
Implements a org.omg.CORBA.Policy
that stores CSIv2 IOR security info.
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
CSIv2Policy(org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData metadata,
Codec codec)
Creates an instance of
CSIv2Policy with the specified metadata and codec. |
CSIv2Policy(TaggedComponent sslTaggedComponent,
TaggedComponent secTaggedComponent)
Creates an instance of
CSIv2Policy with the specified tagged components. |
Modifier and Type | Method and Description |
---|---|
Policy |
copy() |
void |
destroy() |
TaggedComponent |
getSecurityTaggedComponent()
Return a copy of the cached CSI
TaggedComponent . |
TaggedComponent |
getSSLTaggedComponent()
Return a copy of the cached SSL
TaggedComponent . |
int |
policy_type() |
String |
toString() |
_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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_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
public static final int TYPE
public CSIv2Policy(TaggedComponent sslTaggedComponent, TaggedComponent secTaggedComponent)
Creates an instance of CSIv2Policy
with the specified tagged components.
sslTaggedComponent
- a TaggedComponent
that contains the encoded SSL info.secTaggedComponent
- a TaggedComponent
that contains the encoded CSIv2 security info.public CSIv2Policy(org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData metadata, Codec codec)
Creates an instance of CSIv2Policy
with the specified metadata and codec.
metadata
- an object containing all the CSIv2 security info.codec
- the Codec
used to encode the metadata when creating the tagged components.public TaggedComponent getSSLTaggedComponent()
Return a copy of the cached SSL TaggedComponent
.
TaggedComponent
.public TaggedComponent getSecurityTaggedComponent()
Return a copy of the cached CSI TaggedComponent
.
TaggedComponent
.public Policy copy()
copy
in interface PolicyOperations
public void destroy()
destroy
in interface PolicyOperations
public int policy_type()
policy_type
in interface PolicyOperations
Copyright © 2017 JBoss by Red Hat. All rights reserved.