diff options
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/UserManagerImplementationInformation.java | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/UserManagerImplementationInformation.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/UserManagerImplementationInformation.java index 1c4d94ae9..17ba2400d 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/UserManagerImplementationInformation.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/model/UserManagerImplementationInformation.java @@ -33,15 +33,18 @@ public class UserManagerImplementationInformation private String descriptionKey; + private boolean readOnly; + public UserManagerImplementationInformation() { // no op } - public UserManagerImplementationInformation( String beanId, String descriptionKey ) + public UserManagerImplementationInformation( String beanId, String descriptionKey, boolean readOnly ) { this.beanId = beanId; this.descriptionKey = descriptionKey; + this.readOnly = readOnly; } public String getBeanId() @@ -64,6 +67,16 @@ public class UserManagerImplementationInformation this.descriptionKey = descriptionKey; } + public boolean isReadOnly() + { + return readOnly; + } + + public void setReadOnly( boolean readOnly ) + { + this.readOnly = readOnly; + } + @Override public String toString() { |