mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
rename defaultNamespaceStrategy to namespaceStrategy
This commit is contained in:
@@ -184,8 +184,8 @@ public class ScmConfiguration implements Configuration {
|
||||
@XmlElement(name = "xsrf-protection")
|
||||
private boolean enabledXsrfProtection = true;
|
||||
|
||||
@XmlElement(name = "default-namespace-strategy")
|
||||
private String defaultNamespaceStrategy = "UsernameNamespaceStrategy";
|
||||
@XmlElement(name = "namespace-strategy")
|
||||
private String namespaceStrategy = "UsernameNamespaceStrategy";
|
||||
|
||||
|
||||
/**
|
||||
@@ -227,7 +227,7 @@ public class ScmConfiguration implements Configuration {
|
||||
this.loginAttemptLimit = other.loginAttemptLimit;
|
||||
this.loginAttemptLimitTimeout = other.loginAttemptLimitTimeout;
|
||||
this.enabledXsrfProtection = other.enabledXsrfProtection;
|
||||
this.defaultNamespaceStrategy = other.defaultNamespaceStrategy;
|
||||
this.namespaceStrategy = other.namespaceStrategy;
|
||||
}
|
||||
|
||||
public Set<String> getAdminGroups() {
|
||||
@@ -366,8 +366,8 @@ public class ScmConfiguration implements Configuration {
|
||||
return loginAttemptLimit > 0;
|
||||
}
|
||||
|
||||
public String getDefaultNamespaceStrategy() {
|
||||
return defaultNamespaceStrategy;
|
||||
public String getNamespaceStrategy() {
|
||||
return namespaceStrategy;
|
||||
}
|
||||
|
||||
|
||||
@@ -501,8 +501,8 @@ public class ScmConfiguration implements Configuration {
|
||||
this.enabledXsrfProtection = enabledXsrfProtection;
|
||||
}
|
||||
|
||||
public void setDefaultNamespaceStrategy(String defaultNamespaceStrategy) {
|
||||
this.defaultNamespaceStrategy = defaultNamespaceStrategy;
|
||||
public void setNamespaceStrategy(String namespaceStrategy) {
|
||||
this.namespaceStrategy = namespaceStrategy;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user