org.keycloak.adapters.springboot.KeycloakSpringBootProperties Maven / Gradle / Ivy
package org.keycloak.adapters.springboot;
import org.keycloak.representations.adapters.config.AdapterConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.ArrayList;
import java.util.List;
@ConfigurationProperties(prefix = "keycloak", ignoreUnknownFields = false)
public class KeycloakSpringBootProperties extends AdapterConfig {
private List securityConstraints = new ArrayList();
public static class SecurityConstraint {
private List securityCollections = new ArrayList();
public List getSecurityCollections() {
return securityCollections;
}
public void setSecurityCollections(List securityCollections) {
this.securityCollections = securityCollections;
}
}
public static class SecurityCollection {
private String name;
private String description;
private List authRoles = new ArrayList();
private List patterns = new ArrayList();
private List methods = new ArrayList();
private List omittedMethods = new ArrayList();
public List getAuthRoles() {
return authRoles;
}
public List getPatterns() {
return patterns;
}
public List getMethods() {
return methods;
}
public String getDescription() {
return description;
}
public String getName() {
return name;
}
public List getOmittedMethods() {
return omittedMethods;
}
public void setName(String name) {
this.name = name;
}
public void setDescription(String description) {
this.description = description;
}
public void setAuthRoles(List authRoles) {
this.authRoles = authRoles;
}
public void setPatterns(List patterns) {
this.patterns = patterns;
}
public void setMethods(List methods) {
this.methods = methods;
}
public void setOmittedMethods(List omittedMethods) {
this.omittedMethods = omittedMethods;
}
}
public List getSecurityConstraints() {
return securityConstraints;
}
public void setSecurityConstraints(List securityConstraints) {
this.securityConstraints = securityConstraints;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy