| | |
| | | |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.EqualityMatchingRuleCfg; |
| | | import java.util.Collection; |
| | | import java.util.Collections; |
| | | import org.opends.server.api.AttributeSyntax; |
| | | import org.opends.server.api.EqualityMatchingRule; |
| | | import org.opends.server.api.MatchingRule; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.protocols.asn1.ASN1OctetString; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.NameForm; |
| | | import org.opends.server.types.ObjectClass; |
| | | |
| | |
| | | * objectclass descriptions) in which the "first component" is the first item |
| | | * after the opening parenthesis. |
| | | */ |
| | | public class ObjectIdentifierFirstComponentEqualityMatchingRule |
| | | class ObjectIdentifierFirstComponentEqualityMatchingRule |
| | | extends EqualityMatchingRule |
| | | { |
| | | /** |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeMatchingRule(EqualityMatchingRuleCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | public Collection<String> getAllNames() |
| | | { |
| | | // No initialization is required. |
| | | return Collections.singleton(getName()); |
| | | } |
| | | |
| | | |