I am trying to customize passwordValidator but it is not working.

What I did:

1) Create a new class inherited from PasswordValidator ( Just copy 
DefaultPasswordValidator and did some changes )
2) First, I tried to put this class in lib/ext folder, but got ClassNotFound 
error, so I have to it in apacheds-service-2.0.0-M20.jar,
with same folder as DefaultPasswordValidator, this time no error thrown.
3) When input some password of an entry, it does not validate from my new 
Validator. 
4) I also tried to disable defaultPasswordValidator, but I am not able to 
connect apache ds after it is disabled.

I got confused:

1) DefaultPasswordValidator is must enable?
2) All password validator will be validated in chain, or only one of them take 
effect?
3) How to make my customize validator work?

I am using : apacheds-2.0.0-M20 on SLES 12 SP1.

Thanks in advance.

                                          

Reply via email to