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:
parent
c34e51cdc6
commit
ebd415ba47
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user