...
Adding it to a server.xml file
TBD.
Verification
Let's check whether our new interceptor does its job! In order to do so, we use Apache Directory Studio and connect to the server with the interceptor enabled (see above).
First we create a new entry with the following data
Code Block |
---|
dn: cn=Kate Bush,ou=users,ou=system
objectClass: person
objectClass: top
cn: Kate Bush
sn: Bush
|
Afterwards we add a new attribute userPassword in the entry editor. For the value, a special editor appears:
select Plaintext as the hash method and enter a password. We selected "secret" (see above).
Limitations of the example
...