Package com.atlassian.crowd.search.ldap
Class BitwiseFilter
java.lang.Object
org.springframework.ldap.filter.AbstractFilter
com.atlassian.crowd.search.ldap.BitwiseFilter
- All Implemented Interfaces:
org.springframework.ldap.filter.Filter
public class BitwiseFilter
extends org.springframework.ldap.filter.AbstractFilter
Implements a bitwise filter for Active Directory attributes. See http://support.microsoft.com/kb/269181
- Since:
- v2.7
-
Method Summary
Modifier and TypeMethodDescriptionstatic BitwiseFilter
Factory methodencode
(StringBuffer buff) boolean
int
hashCode()
static BitwiseFilter
Factory methodMethods inherited from class org.springframework.ldap.filter.AbstractFilter
encode, toString
-
Method Details
-
encode
-
equals
-
hashCode
public int hashCode() -
and
Factory method- Parameters:
attribute
- attribute name to querymask
- bit mask- Returns:
- a bitwise filter that will match attribute values that contain all the bits in the mask.
-
or
Factory method- Parameters:
attribute
- attribute name to querymask
- bit mask- Returns:
- a bitwise filter that will match attribute values that contain any of the bits in the mask.
-