| | |
| | | |
| | | import java.util.Collection; |
| | | import java.util.Collections; |
| | | |
| | | import org.opends.server.api.MatchingRuleFactory; |
| | | import org.opends.server.admin.std.server.MatchingRuleCfg; |
| | | import org.opends.server.api.MatchingRule; |
| | | import org.forgerock.opendj.config.server.ConfigException; |
| | | import org.forgerock.opendj.ldap.schema.CoreSchema; |
| | | import org.forgerock.opendj.ldap.schema.MatchingRule; |
| | | import org.opends.server.types.InitializationException; |
| | | |
| | | /** |
| | |
| | | public final void initializeMatchingRule(MatchingRuleCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | matchingRule = new UserPasswordEqualityMatchingRule(); |
| | | // TODO: either delete completely UserPasswordEqualityMatchingRule or re-implement it |
| | | // using SDK classes |
| | | // Meanwhile, just returning UserPasswordExactEqualityMatchingRule instead |
| | | matchingRule = CoreSchema.getInstance().getMatchingRule("1.3.6.1.4.1.26027.1.4.2"); |
| | | } |
| | | |
| | | |