All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----orbasec.corba.LocalObject | +----orbasec.corba.InteroperabilityPolicy
This policy operates by creating the policy as assigning mechansims which requires/supports should be ignored. This effect is achieved by calling the set_ignore operation. Such as:
orbasec.corba.InteroperabilityPolicy policy = new orbasec.corba.InteropabilityPolicy(); policy.set_ignore("SSL"); org.omg.CORBA.Policy[] policies = new org.omg.CORBA.Policy[1]; policies[0] = policy; current.set_overrides(policies,org.omg.CORBA.ADD_OVERRIDE.value);
The above code would force the ORB to at the very least to connect to an SSL protected object before. This policy is needed to talk with almost all other ORB vendor's SSL products (to date).
Returns true if the mechanism is supported by any of the mechanisms set in the policy.
public InteroperabilityPolicy()
public boolean equals(Object obj)
public int policy_type()
public Policy copy()
public void destroy()
public boolean ignore_target_requires_supports(String mechanism)
Returns true if the mechanism is supported by any of the mechanisms set in the policy.
public void set_ignore(String mechanism)
This call is used to set the mechanism to ignore.
policy.set_ignore("Kerberos,DES_CBC_CRC,DES_CBC_MD5");will cause both "Kerberos,DES_CBC_CRC" and "Kerberos_MIT,DES_CBC_MD5" to be ignored. Multiple calls are additive, such as one can add
policy.set_ignore("SSL");to have "SSL" ignored for requires/supports as well.
NOTE: There is no "remove" operation.
All Packages Class Hierarchy This Package Previous Next Index