| | |
| | | * for efficiently performing matching operations on that value. |
| | | * |
| | | * @param schema The schema. |
| | | * @param value The value to be normalized. |
| | | * @param value The value to be normalized. |
| | | * |
| | | * @return The normalized version of the provided value. |
| | | * |
| | |
| | | @Override |
| | | public ByteString normalizeAttributeValue(Schema schema, ByteSequence value) throws DecodeException |
| | | { |
| | | // We will not alter the value in any way. |
| | | // We will not alter the value in any way |
| | | return value.toByteString(); |
| | | } |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public Assertion getAssertion(final Schema schema, final ByteSequence assertionValue) throws DecodeException |
| | | { |
| | | final ByteString normalizedAssertionValue = normalizeAttributeValue(schema, assertionValue); |
| | | return new Assertion() |
| | | { |
| | | final ByteString normalizedAssertionValue = normalizeAttributeValue(schema, assertionValue); |
| | | |
| | | @Override |
| | | public ConditionResult matches(final ByteSequence normalizedAttributeValue) |
| | | { |
| | |
| | | return indexers; |
| | | } |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean isIndexingSupported() |
| | |
| | | return ConditionResult.FALSE; |
| | | } |
| | | |
| | | // The first element of the array will be the scheme. Make sure that we |
| | | // support the requested scheme. |
| | | // The first element of the array will be the scheme. |
| | | // Make sure that we support the requested scheme. |
| | | PasswordStorageScheme<?> storageScheme = getAuthPasswordStorageScheme(authPWComponents[0].toString()); |
| | | if (storageScheme == null) |
| | | { |
| | |
| | | } |
| | | |
| | | } |
| | | |