Configurar a possibilidade de inativar autenticação por user+password
Some checks failed
Release / release (push) Failing after 9m33s
Some checks failed
Release / release (push) Failing after 9m33s
fixed #13
This commit is contained in:
parent
c3eb88972c
commit
410061e9bf
2 changed files with 24 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue