From ebd415ba473f9ba12d7e93d04ffe46044c63d329 Mon Sep 17 00:00:00 2001 From: Juan Carlos Luciani Date: Tue, 15 May 2007 17:33:30 +0000 Subject: [PATCH] Needed to pass the miCASA ServerKeyChain Id to the miCASA call to get Proxy User Credentials in order to be successful. --- .../Svc/src/com/novell/casa/authtoksvc/RealmsInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/RealmsInfo.java b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/RealmsInfo.java index e574fb52..3f03ffa5 100644 --- a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/RealmsInfo.java +++ b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/RealmsInfo.java @@ -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()); } }