| | |
| | | public void initializeMatchingRule(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | // No initialization is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getName() |
| | | { |
| | | |
| | | return EMR_USER_PASSWORD_EXACT_NAME; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getOID() |
| | | { |
| | | |
| | | return EMR_USER_PASSWORD_EXACT_OID; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getDescription() |
| | | { |
| | | |
| | | // There is no standard description for this matching rule. |
| | | return EMR_USER_PASSWORD_EXACT_DESCRIPTION; |
| | | } |
| | |
| | | */ |
| | | public String getSyntaxOID() |
| | | { |
| | | |
| | | return SYNTAX_USER_PASSWORD_OID; |
| | | } |
| | | |
| | |
| | | public ByteString normalizeValue(ByteString value) |
| | | throws DirectoryException |
| | | { |
| | | |
| | | |
| | | // The normalized form of this matching rule is exactly equal to the |
| | | // non-normalized form, except that the scheme needs to be converted to |
| | | // lowercase (if there is one). |
| | |
| | | */ |
| | | public boolean areEqual(ByteString value1, ByteString value2) |
| | | { |
| | | |
| | | // Since the values are already normalized, we just need to compare the |
| | | // associated byte arrays. |
| | | return Arrays.equals(value1.value(), value2.value()); |