Esri Geoportal Server
1.0

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

java.lang.Object
  extended by com.esri.gpt.framework.security.identity.ldap.LdapProperties
Direct Known Subclasses:
LdapGroupProperties, LdapUserProperties

public class LdapProperties
extends Object

Super-class for a configured set of LDAP properties.


Constructor Summary
LdapProperties()
          Default constructor.
 
Method Summary
 boolean hasSpecialDNCharacter(String objectDN)
          Determines if an objectDN contains a special character.
 String replace(String pattern, String value)
          Replaces all occurences of {0} within a pattern with the supplied value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapProperties

public LdapProperties()
Default constructor.

Method Detail

hasSpecialDNCharacter

public boolean hasSpecialDNCharacter(String objectDN)
Determines if an objectDN contains a special character.
Special characters include: "=","*",",","%"

Parameters:
objectDN - the DN to check
Returns:
true if a special character is found

replace

public String replace(String pattern,
                      String value)
Replaces all occurences of {0} within a pattern with the supplied value.

Parameters:
pattern - the replacement pattern
value - the replacement value

Esri Geoportal Server
1.0

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