uCosminexus Application Server, Security Management Guide

[Contents][Index][Back][Next]

15.7 The LdapUserEnumeration interface

Description
References a list of user IDs.
The package name of the LdapUserEnumeration interface is com.cosminexus.admin.auth.api.repository.ldap.

Syntax
interface LdapUserEnumeration extends java.util.Enumeration
{
  public boolean hasMore()
    throws NamingException;
  public boolean hasMoreElements();
  public String next()
    throws NamingException;
  public Object nextElement();
  public close()
    throws NamingException;
}

Methods
Method name Functionality
close method Closes an object.
hasMore method Checks whether the list contains any more user IDs.
(NamingException: Called)
hasMoreElements method Checks whether the list contains any more user IDs.
(NamingException: Not called)
next method Obtains the next user ID from the list.
(NamingException: Called; Return value type: string)
nextElement method Obtains the next user ID from the list.
(NamingException: Not called; Return value type: object)
Organization of this section
The close method
The hasMore method
The hasMoreElements method
The next method
The nextElement method