Commit Graph

1026 Commits

Author SHA1 Message Date
Olivier Lamy 9d77408e43 fix compilation of mock RoleManager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448675 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 15:00:37 +00:00
Olivier Lamy 08c68fe7f0 default must be jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448663 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:39:24 +00:00
Olivier Lamy 907ffd42d8 this optimisation was very crappy in fact so remove it: too much synchronization were needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447476 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:30:51 +00:00
Olivier Lamy 95f86b2fe2 no need to rebuild the collection if exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447475 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:30:27 +00:00
Olivier Lamy 2c4b7c6c4c prevent possible multi thread issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447472 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:30:09 +00:00
Olivier Lamy e807e6d869 add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447168 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:30:00 +00:00
Olivier Lamy 8364c17d3a service to provide available rbacmanager implementations informations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447164 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:28:48 +00:00
Olivier Lamy cd9cb8eb82 prevent possible NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446363 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 22:12:36 +00:00
Olivier Lamy 7711abea0d reload field in case of configuration change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445993 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:53:27 +00:00
Olivier Lamy 84cc32a55f optimize a bit: no need to fully rebuild the bean if no change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445900 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 20:21:54 +00:00
Olivier Lamy dd4703f181 no need to expose keys which are stored in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445899 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 20:21:33 +00:00
Olivier Lamy 114eb24636 add ldap bind authenticator enabled as a archiva config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445544 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:31:28 +00:00
Olivier Lamy 08297071c2 map property ldap.config.groups.use.rolename in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445346 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 20:38:31 +00:00
Olivier Lamy b2130aacec ensure correct default values for archiva model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445274 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:13:23 +00:00
Olivier Lamy 600d8258c1 ordering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445273 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:12:30 +00:00
Olivier Lamy 46900eea43 ldap writable save in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445271 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:11:15 +00:00
Olivier Lamy 22b57d7be9 add baseGroupDn in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1444880 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 17:13:06 +00:00
Olivier Lamy b72d669109 better logging when cleaning temp group index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443793 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 23:44:28 +00:00
Olivier Lamy 6abe3b6a90 log time to merge indexes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443760 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 22:22:13 +00:00
Olivier Lamy 4e81a58810 use value from registry
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443755 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 22:21:10 +00:00
Olivier Lamy 47b902d8ab better with adding the new class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443528 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:58:12 +00:00
Olivier Lamy cde16b4a26 use a bean class for request to ease future enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443527 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:55 +00:00
Olivier Lamy e0ecff38ea simplify code and better variable name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443526 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:32 +00:00
Olivier Lamy 3e447d498c rename method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443524 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:11 +00:00
Olivier Lamy fafe841a99 fix archiva-indexer module tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443366 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 09:29:51 +00:00
Olivier Lamy cbf92221e7 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443281 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:59:57 +00:00
Olivier Lamy 33527242fb fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443280 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:59:33 +00:00
Olivier Lamy 4fe1215675 dont use a default directory inside data for repositories content
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443265 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:54:56 +00:00
Olivier Lamy b978de05ff fix issue when creating repository with relative path index used a wrong repository directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443259 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:49:40 +00:00
Olivier Lamy 53f8581435 no need to create etc.. if the index already exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443258 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:49:25 +00:00
Olivier Lamy 295d3296c0 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443223 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:24:34 +00:00
Olivier Lamy 9b1ba50b0a remove duplicate code with using exposed method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443220 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:22:04 +00:00
Olivier Lamy a331e649ca be consistent for index repository created with a relative path with default ones
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443219 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:50 +00:00
Olivier Lamy 442c782a1d be consistent for repository created with a relative path with default ones
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443218 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:33 +00:00
Olivier Lamy 6131e693a9 correctly delete previous index directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443217 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:18 +00:00
Olivier Lamy c606acd784 [MRM-1744] updating managed repository fail to correctly update maven index directory.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443216 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:01 +00:00
Olivier Lamy d9781d064a use StringUtils.isNotBlank
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1442912 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 11:23:06 +00:00
Olivier Lamy eee92e93b8 add a better default value
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1442911 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 11:22:46 +00:00
Olivier Lamy b43aff915e add a marker to be able to debug this part without debugging all of this class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1442649 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 16:28:34 +00:00
Olivier Lamy 0e4862b241 fix groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1441809 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 20:50:31 +00:00
Olivier Lamy 9de15a459f correctly shutdown http connection manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1439693 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:29:09 +00:00
Olivier Lamy 71b7c89c8e remove use of deprecated class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1439691 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:25:18 +00:00
Olivier Lamy 11afd010f5 use cache per default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1436468 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 16:37:13 +00:00
Olivier Lamy 6c05482be3 fix dynamic usage of rbac manager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1434422 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 21:48:35 +00:00
Olivier Lamy 9a014b52dc use our own RBACManager to be able to configure dynamically real impls used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1433553 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 17:55:53 +00:00
Olivier Lamy acaac81784 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1433423 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 14:05:43 +00:00
Olivier Lamy 7b7135cff7 [MRM-1736] map roles to ldap groups
make authorizer impls dynamic

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1430611 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 22:47:47 +00:00
Olivier Lamy 007258a9ed support more than one value for user manager impls from security.properties
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1429339 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 17:57:45 +00:00
Olivier Lamy 36563f58bd fix bean naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427883 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 18:04:59 +00:00
Olivier Lamy eabbeb562e fix Inefficient String Buffering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427134 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:15:52 +00:00