feat: Initial Commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user