credential = new String(pc.getCredential());
}
}
if (p == null || credential == null) {
p = new RemotingConnectionPrincipal(connection);
credential = new RemotingConnectionCredential(connection);
}
SecurityActions.remotingContextClear();
util.createSubjectInfo(p, credential, null);