}
public ServiceContext[] getServiceContext(ObjectRef object, Object requestKey, int retryCount) {
String username;
String password;
SecurityInfo securityInfo = SecurityInfo.getCurrent();
if (securityInfo == null) {
ClientNamingContext namingContext = object.$getNamingContext();
if (namingContext != null) {
username = namingContext.getUsername();
password = namingContext.getPassword();