Alpha code for Secret Persistence Policy. In Progress.

This commit is contained in:
Jim Norman 2006-09-15 20:45:52 +00:00
parent d41f5b42c3
commit 4d7d9b9203

View File

@ -132,12 +132,15 @@ public class PersistencePol : CASAPol
ArrayList al = new ArrayList(); ArrayList al = new ArrayList();
//enumerate all secrets loaded //enumerate all secrets loaded
IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator(); if (htSecretPolicys != null)
while (idEnum.MoveNext())
{ {
string sSecretID = (string)idEnum.Key; IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator();
al.Add(sSecretID); while (idEnum.MoveNext())
} {
string sSecretID = (string)idEnum.Key;
al.Add(sSecretID);
}
}
return al; return al;
} }