pre-operation (search) plugin performance? examples?

Does anyone have any good examples of pre-operation search plug-in? We are running DS 5.2 sp4 on HPUX

I am looking into developing a custom plugin to our SunONE directory that will be executed as a pre-operation to a search request. The plugin will check the search filter for uid=. If the filter for uid= contains leading/trailing spaces, the plugin will not execute the LDAP search and disallow the user from authenticating.

This would affect ALL searches done against our directory.

Has anyone implemented a pre-operation search plugin before? Do you have an idea of performance impacts?

[616 byte] By [bombaybabe] at [2007-11-26 7:45:01]
# 1

> Does anyone have any good examples of pre-operation

> search plug-in? We are running DS 5.2 sp4 on HPUX

>

> I am looking into developing a custom plugin to our

> SunONE directory that will be executed as a

> pre-operation to a search request. The plugin will

> check the search filter for uid=. If the filter for

> uid= contains leading/trailing spaces, the plugin

> will not execute the LDAP search and disallow the

> user from authenticating.

>

> This would affect ALL searches done against our

> directory.

>

> Has anyone implemented a pre-operation search plugin

> before?

There are certainly people who did it, but I've never heard of one, or seen any sample.

> Do you have an idea of performance impacts?

Well written, there should be very limited performance impact.

Regards,

Ludovic.

ludovicp at 2007-7-6 19:56:22 > top of Java-index,Web & Directory Servers,Directory Servers...