summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java')
-rw-r--r--pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java8
1 files changed, 4 insertions, 4 deletions
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