Configurar a possibilidade de inativar autenticação por user+password
Some checks failed
Release / release (push) Failing after 10m3s
Some checks failed
Release / release (push) Failing after 10m3s
fixes #13
This commit is contained in:
parent
93193c6165
commit
c3eb88972c
7 changed files with 89 additions and 34 deletions
|
@ -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
|
||||
|
|
|
@ -18,7 +18,9 @@ logging:
|
|||
ROOT: INFO
|
||||
tech.jhipster: INFO
|
||||
com.oguerreiro.resilient: INFO
|
||||
|
||||
org.hibernate.proxy: TRACE
|
||||
org.hibernate.bytecode: TRACE
|
||||
|
||||
management:
|
||||
prometheus:
|
||||
metrics:
|
||||
|
@ -33,9 +35,9 @@ spring:
|
|||
enabled: false
|
||||
datasource:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
url: jdbc:mysql://localhost:3306/resilient?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&createDatabaseIfNotExist=true
|
||||
url: jdbc:mysql://localhost:3306/resilient_resilient?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&createDatabaseIfNotExist=true
|
||||
username: root
|
||||
password:
|
||||
password: root
|
||||
hikari:
|
||||
poolName: Hikari
|
||||
auto-commit: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue