Configurar a possibilidade de inativar autenticação por user+password
Some checks failed
Release / release (push) Failing after 10m3s

fixes #13
This commit is contained in:
Orlando M Guerreiro 2025-06-23 11:04:25 +01:00
parent 93193c6165
commit c3eb88972c
7 changed files with 89 additions and 34 deletions

View file

@ -144,9 +144,11 @@ resilient:
enabled: false
port: 8081
mock-idp:
enabled: false
enabled: true
path: classpath:mock-idp/idp.js
security:
basic: # ADDED to config the formLogin (user+password). This allows for the DISABLE of basic authentication
enabled: true
saml2: # ADDED to support SAMLv2 authentication to IDP.
# Metadata endpoint ${base-url}/saml2/service-provider-metadata/mock-idp
enabled: true
@ -172,9 +174,9 @@ resilient:
name: name # the user display name [OPTIONAL]
username: urn:mace:dir:attribute-def:mail # the username, typically for authentication. Fallsback to email. [MANDATORY]
email: email # the user email [MANDATORY]
organization-code: organization_code # organization unit code [OPTIONAL]
security-group-code: security_group # security group code [OPTIONAL]
role: roles # a single role is expected [OPTIONAL]
organization-code: # organization unit code [OPTIONAL]. Eg. "organization_code"
security-group-code: # security group code [OPTIONAL]. Eg. "security_group"
role: # a single role is expected [OPTIONAL]. Eg. "roles"
defaults: # For some attributes defaults can be given. This will be used if SAML2 response doesn't have them
organization-code: NOVA # default organization unit code
security-group-code: GRP_USER # default security group code