summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-10 16:36:18 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-10 16:36:18 +0000
commit8534cdcb6ab0b9247d8d5fd744b5f2ae948d094e (patch)
tree3b340de2e15b0406ff220a145b76c75c1eba4139 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src
parent195d7ef627414c07fda37b81b4b6a733d45ecc46 (diff)
downloadarchiva-8534cdcb6ab0b9247d8d5fd744b5f2ae948d094e.tar.gz
archiva-8534cdcb6ab0b9247d8d5fd744b5f2ae948d094e.zip
[MRM-1721] Chaining user manager implementations.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419569 13f79535-47bb-0310-9956-ffa450edef68
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.java15
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()
{