Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic setting for allowing password reset on REQUIRE_NEW_PWD error #587

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hsartoris-bard
Copy link

I introduce a new required setting, ldap.allowAuth.requireNewPassword, replacing the functionality of ldap.ad.allowAuth.requireNewPassword and ldap.oracleDS.allowAuth.requireNewPassword. Usage of the latter two settings has been substituted for the former, allowing deprecation of those vendor-specific settings.

This allows for deduplicating code in LDAPAuthenticationRequest.java, with the initial benefit being somewhat reduced complexity, and the additional benefit of allowing the same functionality to apply to OpenLDAP pending merge and dependency update such that ldapchai is able to catch this situation with an OpenLDAP backend; see ldapchai/ldapchai#25

Given both PRs are merged, it will resolve #155

@hsartoris-bard
Copy link
Author

Given the ldapchai PR was merged, any idea when this could be considered for approval?

@hsartoris-bard
Copy link
Author

@jrivard Brought this branch in line with master; please let me know if there's anything else you'd like to see before this could be merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenLDAP: Can't login if pwmReset set to TRUE.
1 participant