Skip to content

DRYD-2002: Settings for Password Requirements#355

Draft
mikejritter wants to merge 9 commits into
collectionspace:developfrom
mikejritter:feature/dryd-2002-passwords
Draft

DRYD-2002: Settings for Password Requirements#355
mikejritter wants to merge 9 commits into
collectionspace:developfrom
mikejritter:feature/dryd-2002-passwords

Conversation

@mikejritter

Copy link
Copy Markdown
Contributor

What does this do?
This updates the tenant binding configuration to take in additional settings for password complexity requirements.

Why are we doing this? (with JIRA link)
Jira: https://collectionspace.atlassian.net/browse/DRYD-2002

This is a requirement for better HECVAT compatibility.

How should this be tested? Do these changes have associated tests?

  • The provided config in tomcat-main/src/main/resources/defaults/settings.xml need to be copied into one of the tenant settings.xml files (e.g. core)
  • In the services application:
    • Ensure your cspace environment variables are set
    • Navigate to services/JaxRsServiceProvider/
    • Run the ant deploy_services_artifacts
  • In your CSPACE_JEE_SERVER, verify the proto bindings contain the new <tenant:passwordComplexity/> section

Dependencies for merging? Releasing to production?
I did this on top of the JDK 21 update. Otherwise I don't believe there are any dependencies.

The way the settings are read in though is kind of a mess, and makes adding new settings more difficult than it should be. IDK the way settings are handled in general makes the entire process onerous (e.g. needing a recompile to change a value). I'll create a ticket for this to track it.

Has the application documentation been updated for these changes?
No. Docs will need to be added.

Did someone actually run this code to verify it works?
@mikejritter has generated tenant bindings locally

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.

1 participant