public class PatternDN extends Object
Modifier and Type | Method and Description |
---|---|
static PatternDN |
decode(String dnString)
Create a new DN pattern matcher from a pattern string.
|
static PatternDN |
decodeSuffix(String pattern)
Create a new DN pattern matcher to match a suffix.
|
boolean |
matchesDN(DN dn)
Determine whether a given DN matches this pattern.
|
public boolean matchesDN(DN dn)
dn
- The DN to be matched.public static PatternDN decodeSuffix(String pattern) throws DirectoryException
pattern
- The suffix pattern string.DirectoryException
- If the pattern string
is not valid.public static PatternDN decode(String dnString) throws DirectoryException
dnString
- The DN pattern string.DirectoryException
- If the pattern string
is not valid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.