com.atlassian.crowd.integration.directory.connector.spring
Class PreEncodedFilter
java.lang.Object
org.springframework.ldap.filter.AbstractFilter
com.atlassian.crowd.integration.directory.connector.spring.PreEncodedFilter
- All Implemented Interfaces:
- org.springframework.ldap.filter.Filter
public class PreEncodedFilter
- extends org.springframework.ldap.filter.AbstractFilter
Allows a runtime filter to be specified that is already encoded.
PreEncodedFilter filter = new PreEncodedFilter("(objectClass=user)(!(objectClass=computer))");
System.out.println(filter.ecode());
This type of filter was requested to be added to the Spring LDAP core: http://opensource.atlassian.com/projects/spring/browse/LDAP-28
- Author:
- Justen Stepka
Method Summary |
java.lang.StringBuffer |
encode(java.lang.StringBuffer stringBuffer)
|
Methods inherited from class org.springframework.ldap.filter.AbstractFilter |
encode, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.ldap.filter.Filter |
equals, hashCode |
PreEncodedFilter
public PreEncodedFilter(java.lang.String filter)
encode
public java.lang.StringBuffer encode(java.lang.StringBuffer stringBuffer)
- Specified by:
encode
in interface org.springframework.ldap.filter.Filter
- Specified by:
encode
in class org.springframework.ldap.filter.AbstractFilter
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.