short as_target_requires = (short) 0;
short as_target_supports = (short) 0;
short sas_target_requires = (short) 0;
short sas_target_supports = (short) 0;
GSSUPPolicy gp = null;
String gssup_realm = null;
boolean has_security = false;
try {
gp = (GSSUPPolicy) info.get_effective_policy(SecGSSUPPolicy.value);
if (gp.mode() == RequiresSupports.SecRequires) {
as_target_requires |= EstablishTrustInClient.value;
}
as_target_supports |= EstablishTrustInClient.value;
gssup_realm = gp.domain();
has_security = true;
}
catch (org.omg.CORBA.INV_POLICY ex) {
// ignore