summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-web-common
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-11-23 18:35:43 +0000
committerOlivier Lamy <olamy@apache.org>2012-11-23 18:35:43 +0000
commit4affdc7bbd4ab04e7cf65287e009ee8e80ebdae8 (patch)
tree5f9f4bbc2746428700a28d2f9d9ee0b682921937 /archiva-modules/archiva-web/archiva-web-common
parent0144a7f6d72c9bc0fc4ab2b9489b0870e0cdac4b (diff)
downloadarchiva-4affdc7bbd4ab04e7cf65287e009ee8e80ebdae8.tar.gz
archiva-4affdc7bbd4ab04e7cf65287e009ee8e80ebdae8.zip
[MRM-1714] using LDAP can be configurable with the ui
add a rest service which return available userManager implementation. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1413021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common')
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java
index c12c13880..5a2a08e9b 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java
+++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java
@@ -29,6 +29,7 @@ import javax.inject.Inject;
/**
* @author Olivier Lamy
+ * @since 1.4-M4
*/
@Service ( "userManager#archiva" )
public class ArchivaConfigurableUsersManager
@@ -60,4 +61,9 @@ public class ArchivaConfigurableUsersManager
throw new RuntimeException( e.getMessage(), e );
}
}
+
+ public String getDescriptionKey()
+ {
+ return "archiva.redback.usermanager.configurable.archiva";
+ }
}