Esri Geoportal Server
1.0

com.esri.gpt.framework.security.identity.ldap
Class LdapFunctions

java.lang.Object
  extended by com.esri.gpt.framework.security.identity.ldap.LdapFunctions
Direct Known Subclasses:
LdapEditFunctions, LdapQueryFunctions

public class LdapFunctions
extends Object

Super-class for LDAP query/edit functionality.


Constructor Summary
protected LdapFunctions()
          Default constructor.
protected LdapFunctions(LdapConfiguration configuration)
          Construct with a supplied configuration.
 
Method Summary
protected  String buildFullDN(String objectDN, String baseDN)
          Builds a full distinguished name based upon a relative DN and base DN.
protected  void closeEnumeration(NamingEnumeration<? extends Object> en)
          Closes a naming enumeration (if open).
protected  LdapConfiguration getConfiguration()
          Gets the LDAP configuration.
protected  void setConfiguration(LdapConfiguration configuration)
          Sets the LDAP configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapFunctions

protected LdapFunctions()
Default constructor.


LdapFunctions

protected LdapFunctions(LdapConfiguration configuration)
Construct with a supplied configuration.

Parameters:
configuration - the configuration
Method Detail

getConfiguration

protected LdapConfiguration getConfiguration()
Gets the LDAP configuration.

Returns:
the configuration

setConfiguration

protected void setConfiguration(LdapConfiguration configuration)
Sets the LDAP configuration.

Parameters:
configuration - the configuration

buildFullDN

protected String buildFullDN(String objectDN,
                             String baseDN)
Builds a full distinguished name based upon a relative DN and base DN.

Parameters:
objectDN - the relative object DN
baseDN - the base DN (for a search)
Returns:
the full DN

closeEnumeration

protected void closeEnumeration(NamingEnumeration<? extends Object> en)
Closes a naming enumeration (if open).

Parameters:
en - the enumeration to close

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.