org.jvnet.hk2.component.matcher
Class SimpleLdapMatcher
java.lang.Object
org.jvnet.hk2.component.matcher.SimpleLdapMatcher
public class SimpleLdapMatcher
- extends Object
This thing filters things based on the input LDAP style string. Note that
this is restricted LDAP, in that it only handles "&".
create
public static SimpleLdapMatcher create(String ldapFilter)
create
public static SimpleLdapMatcher create(Map<String,Object> props)
createClassFilter
public static SimpleLdapMatcher createClassFilter(String clazzName)
matches
public boolean matches(MultiMap<String,String> properties)
- An or-type match checker
- Parameters:
properties -
- Returns:
matches
public boolean matches(Map<String,Set<String>> toMatch)
getTheAndSetFor
public Set<String> getTheAndSetFor(String propName,
boolean removeIt)
getTheAndSetFor
protected boolean getTheAndSetFor(Set<String> result,
String propName,
boolean removeIt,
org.jvnet.hk2.component.matcher.SimpleLdapMatcher.Node node)
toString
public String toString()
- Overrides:
toString in class Object
getLdapExpression
public String getLdapExpression()
Copyright © 2011 Oracle Corporation. All Rights Reserved.