feat: Initial Commit

This commit is contained in:
lucasdpt
2025-09-10 00:05:15 +02:00
commit 83c1faf0d8
8 changed files with 284 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package fr.lucasdupont.security;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "keycloak.auth")
public class KeycloakAuthProperties {
private String role;
private boolean checkClientRole = false;
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public boolean isCheckClientRole() {
return checkClientRole;
}
public void setCheckClientRole(boolean checkClientRole) {
this.checkClientRole = checkClientRole;
}
}