Update the JE backend search processing code so that any unindexed search will
be checked against the virtual attribute subsystem to see if any of the virtual
attribute providers can help process the search.
OpenDS Issue Number: 1507
| | |
| | | } |
| | | else |
| | | { |
| | | // See if we could use a virtual attribute rule to process the search. |
| | | for (VirtualAttributeRule rule : DirectoryServer.getVirtualAttributes()) |
| | | { |
| | | if (rule.getProvider().isSearchable(rule, searchOperation)) |
| | | { |
| | | rule.getProvider().processSearch(rule, searchOperation); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | ClientConnection clientConnection = |
| | | searchOperation.getClientConnection(); |
| | | if(! clientConnection.hasPrivilege(Privilege.UNINDEXED_SEARCH, |