Needed to pass the miCASA ServerKeyChain Id to the miCASA call to get

Proxy User Credentials in order to be successful.
This commit is contained in:
Juan Carlos Luciani 2007-05-15 17:33:30 +00:00
parent c34e51cdc6
commit ebd415ba47

View File

@ -190,13 +190,13 @@ public class RealmsInfo
try
{
MiCasa store = new MiCasa();
NetCredential nc = store.getCredential(0, realm.getId(), null, 0);
NetCredential nc = store.getCredential(0, realm.getId(), null, 0, MiCasa.SSCS_CRED_TYPE_SERVER_F);
realmInfo.m_proxyUserName = principalName = nc.getUsername();
realmInfo.m_proxyUserPassword = principalPassword = nc.getPassword();
}
catch (Exception e)
{
m_log.warn("Constructor()- Exception caught obtaining proxy user credentials from miCASA, msg = " + e.getMessage());
m_log.warn("Constructor()- Exception caught obtaining proxy user credentials from miCASA for realm " + realm.getId() +", msg = " + e.getMessage());
}
}