$setObjectKey(objectKey);
}
public void $setObjectKey(Class compClass)
{
SimpleSubject subject = SimpleSubject.getCurrent();
if (subject != null
&& (subject.getFlags() & SimpleSubject.FLAG_SESSION_MANAGER) != 0)
{
// Initialize for simple IDL interoperability.
ObjectKey objectKey = new ObjectKey();
objectKey.component = compClass.getName();
objectKey.username = subject.getUsername();
objectKey.password = subject.getPassword();
byte[] key = objectKey.encode();
key[0] = 'I';
_iiopVersion = IIOP_VERSION_1_1;
$setObjectKey(key);
}