com.atlassian.user.util
Class LDAPUtils

java.lang.Object
  extended bycom.atlassian.user.util.LDAPUtils

public class LDAPUtils
extends java.lang.Object


Field Summary
static org.apache.log4j.Category log
           
 
Constructor Summary
LDAPUtils()
           
 
Method Summary
static javax.naming.directory.SearchControls createSearchControls(java.lang.String[] attributesToReturn, boolean searchAllDepths, int timeLimitMillis)
           
static boolean isValidFilter(java.lang.String filter)
           
static net.sf.ldaptemplate.support.filter.Filter makeAndFilter(net.sf.ldaptemplate.support.filter.Filter filter1, net.sf.ldaptemplate.support.filter.Filter filter2)
          "ANDS" the two filters passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Category log
Constructor Detail

LDAPUtils

public LDAPUtils()
Method Detail

makeAndFilter

public static net.sf.ldaptemplate.support.filter.Filter makeAndFilter(net.sf.ldaptemplate.support.filter.Filter filter1,
                                                                      net.sf.ldaptemplate.support.filter.Filter filter2)
"ANDS" the two filters passed in. Either filter may be null, in which case the non-null filter is returned.


isValidFilter

public static boolean isValidFilter(java.lang.String filter)

createSearchControls

public static javax.naming.directory.SearchControls createSearchControls(java.lang.String[] attributesToReturn,
                                                                         boolean searchAllDepths,
                                                                         int timeLimitMillis)


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.