commit
92504e8ba3
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ public class PolicyEnforcerConfig {
|
||||||
private String type;
|
private String type;
|
||||||
private String path;
|
private String path;
|
||||||
private List<MethodConfig> methods = new ArrayList<>();
|
private List<MethodConfig> methods = new ArrayList<>();
|
||||||
private List<String> scopes = Collections.emptyList();
|
private List<String> scopes = new ArrayList<>();
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
@JsonProperty("enforcement-mode")
|
@JsonProperty("enforcement-mode")
|
||||||
|
@ -218,7 +218,7 @@ public class PolicyEnforcerConfig {
|
||||||
public static class MethodConfig {
|
public static class MethodConfig {
|
||||||
|
|
||||||
private String method;
|
private String method;
|
||||||
private List<String> scopes = Collections.emptyList();
|
private List<String> scopes = new ArrayList<>();
|
||||||
|
|
||||||
@JsonProperty("scopes-enforcement-mode")
|
@JsonProperty("scopes-enforcement-mode")
|
||||||
private ScopeEnforcementMode scopesEnforcementMode = ScopeEnforcementMode.ALL;
|
private ScopeEnforcementMode scopesEnforcementMode = ScopeEnforcementMode.ALL;
|
||||||
|
|
Loading…
Reference in a new issue