org.ops4j.peaberry.util.ldap
Class LdapAttributeFilter
java.lang.Object
org.ops4j.peaberry.util.ldap.LdapAttributeFilter
- All Implemented Interfaces:
- AttributeFilter
public final class LdapAttributeFilter
- extends Object
- implements AttributeFilter
Implementation of LDAP AttributeFilter, uses code from Apache Felix.
- Author:
- mcculls@gmail.com (Stuart McCulloch)
LdapAttributeFilter
public LdapAttributeFilter(String ldapFilter)
matches
public boolean matches(Map<String,?> attributes)
- Description copied from interface:
AttributeFilter
- Tests whether or not this filter matches the given service attributes.
- Specified by:
matches in interface AttributeFilter
- Parameters:
attributes - service attributes
- Returns:
- true if the given attributes match this filter, otherwise false
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.