This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package util; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public final class ActiveDirectoryUtils { | |
private static final Pattern ERROR_CODE = Pattern.compile(".*LDAP: error code\\s([0-9]*).*data\\s([0-9a-f]{3,4}).*"); | |
public static final int USERNAME_NOT_FOUND = 0x525; |