try {
DelegationDirectivePolicy delegate = (DelegationDirectivePolicy) ri
.get_server_policy(SecDelegationDirectivePolicy.value);
if (delegate != null) {
DelegationDirective dir = delegate.delegation_directive();
if (dir == DelegationDirective.Delegate) {
support_gssup_principal_identity = true;
}
}
}