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

fixed #13
This commit is contained in:
Orlando M Guerreiro 2025-06-23 11:29:50 +01:00
parent c3eb88972c
commit 410061e9bf
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
package com.oguerreiro.resilient.security.basic;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "resilient.security.basic")
public class ResilientBasicProperties {
private boolean enabled;
// Root-level Getters/Setters
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
}

View file

@ -23,6 +23,8 @@ logging:
org.opensaml: DEBUG
org.springframework.security.saml2: DEBUG
org.springframework.security: DEBUG
org.hibernate.proxy: TRACE
org.hibernate.bytecode: TRACE
spring:
jpa: