diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cms')
3 files changed, 9 insertions, 9 deletions
diff --git a/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java b/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java index 11e91fdeb..ac6534afd 100644 --- a/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java +++ b/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java @@ -748,7 +748,7 @@ class TempCRLIssuingPointRecord implements ICRLIssuingPointRecord { } - public Enumeration<Object> getElements() { + public Enumeration<String> getElements() { return null; } } diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java b/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java index 9d4c4f00e..69cfd9aaf 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java @@ -83,15 +83,15 @@ public class AuthCredentials implements IAuthCredentials { } /** - * returns an enumeration of the credentials in this credential + * returns an enumeration of the credential names in this credential * set. Use the Enumeration methods on the returned object to * fetch the elements sequentially. * - * @return an enumeration of the values in this credential set + * @return an enumeration of the names in this credential set * @see java.util.Enumeration */ - public Enumeration<Object> getElements() { - return authCreds.elements(); + public Enumeration<String> getElements() { + return authCreds.keys(); } // Inserted by bskim diff --git a/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java b/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java index a55406068..88369ace3 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java +++ b/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java @@ -83,15 +83,15 @@ public class AuthCredentials implements IAuthCredentials { } /** - * returns an enumeration of the credentials in this credential + * returns an enumeration of the credential names in this credential * set. Use the Enumeration methods on the returned object to * fetch the elements sequentially. * - * @return an enumeration of the values in this credential set + * @return an enumeration of the names in this credential set * @see java.util.Enumeration */ - public Enumeration<Object> getElements() { - return authCreds.elements(); + public Enumeration<String> getElements() { + return authCreds.keys(); } // Inserted by bskim |