2024-04-01 10:16:19 +02:00
|
|
|
package eu.eudat.service.keycloak;
|
2023-12-08 12:27:04 +01:00
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.bind.ConstructorBinding;
|
|
|
|
|
|
|
|
public class KeycloakAuthorityProperties {
|
|
|
|
|
|
|
|
private final String groupId, groupTitle;
|
|
|
|
|
|
|
|
@ConstructorBinding
|
|
|
|
public KeycloakAuthorityProperties(String groupId, String groupTitle) {
|
|
|
|
this.groupId = groupId;
|
|
|
|
this.groupTitle = groupTitle;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getGroupId() {
|
|
|
|
return groupId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getGroupTitle() {
|
|
|
|
return groupTitle;
|
|
|
|
}
|
|
|
|
}
|