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

fix(jans-scim): SCIM not responding to applied Password validation #8146

Closed
mzico opened this issue Mar 25, 2024 · 1 comment · Fixed by #8716
Closed

fix(jans-scim): SCIM not responding to applied Password validation #8146

mzico opened this issue Mar 25, 2024 · 1 comment · Fixed by #8716
Assignees
Labels
area-CI Issue or changes required in automatic builds or CI infrastructure comp-jans-scim Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@mzico
Copy link
Contributor

mzico commented Mar 25, 2024

We have enabled custom validation for Password attribute. Which is:

  • Flex: 5.1.0 in Ubuntu 22 with Postgresql backend.
  • Regular expression: ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#&()–[{}]:;',?/*~$^+=<>]).{8,20}$
  • Minimum Length: 6, Maximum Length: 12
  • Admin-UI and jans TUI are respecting this validation and prohibiting users to create simple password.
  • But, I can easily replace existing user's strong password to simple one like 1234 even when password validation is in place of configuration.

Screenshot from 2024-03-26 01-38-27

@mo-auto mo-auto added area-CI Issue or changes required in automatic builds or CI infrastructure comp-jans-scim Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Mar 25, 2024
jgomer2001 added a commit that referenced this issue Jun 14, 2024
Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
jgomer2001 added a commit that referenced this issue Jun 14, 2024
Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
jgomer2001 added a commit that referenced this issue Jun 14, 2024
Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
yurem pushed a commit that referenced this issue Jun 17, 2024
* docs: include new config property #8146

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>

* feat: apply password validation when defined and enabled #8146

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>

* chore: add new property to installation template #8146

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>

---------

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
@jgomer2001
Copy link
Contributor

@mzico a new property was added to scim configuration to turn off validation if desired

Screenshot from 2024-06-17 06-40-48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CI Issue or changes required in automatic builds or CI infrastructure comp-jans-scim Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants