By: Neha Agarwal user 04 Oct 2016 at 3:11 p.m. CDT

6 Responses
Neha Agarwal gravatar
Hi, I have update password policy under opendj to use some password validators, like length-based-password-validator. When I login as a user and try to change the password, for every password I change it throws a message as : successfully changed. Immediately after that it takes me to the home screen and says System Error, if it fails to satisfy any of the password validation rules. And in real it fails to update the password (which is good and should be the behavior) but the error messages are not properly displayed on the screen. For example : I have a validator in my password-policy as length-based-password-validator set to length 8 (so my password length should be at minimum 8) not while changing the password I provide 'abc' as my new pass. In that scenario I am observing the following behavior. Is there customization that can be done about it ?

By William Lowe user 04 Oct 2016 at 3:19 p.m. CDT

William Lowe gravatar
Neha, Just a note: we recommend creating a separate enrollment form using the programming language of your choice, and then sending that info to the Gluu Server via SCIM. In fact, that's how we're handling registration for this support app (in django). It will be much easier for you to customize the enrollment process if you decouple it from the Gluu Server. Feel free to reply. Perhaps someone from Gluu support will have some tactical advice if you think customizing the Gluu Server registration page is your best strategy.

By Neha Agarwal user 04 Oct 2016 at 3:30 p.m. CDT

Neha Agarwal gravatar
Thanks ! Would really appreciate if I can get some advise on customizing Gluu Server Password Change feature. Meanwhile I'll try and explore the SCIM option.

By Shekhar L. staff 07 Oct 2016 at 1:06 p.m. CDT

Shekhar L. gravatar
Hi Neha , To alter password we had change password feature on profile page. for more we had viewprofile.xhtml page And for passwordreset : We had passwordreset.xhtml and PasswordResetAction.java.You can go through the code and customize as your requirement.

By Neha Agarwal user 07 Oct 2016 at 1:26 p.m. CDT

Neha Agarwal gravatar
Thanks I do see a problem in the way exceptions are handled on these Java pages, I might have to change that. From other tickets that I have got the replies from I realize there is no developers documentation available (Like how to set up the project on Intellij/Eclipse), I already have link for the Java Docs on the classes, please let me know if there is any other documentation available that can actually help me set the project on my local for customization. Really appreciate your time and response.

By Shekhar L. staff 18 Oct 2016 at 11:58 a.m. CDT

Shekhar L. gravatar
Hi Neha , Yeah we have documentation to setup local workspace. Here is the link: https://ox.gluu.org/doku.php?id=oxtrust:build-eclipse Thanks Shekhar L.

By Neha Agarwal user 18 Oct 2016 at 12:01 p.m. CDT

Neha Agarwal gravatar
Thanks Shekhar! Appreciate it.