Commit Graph

278 Commits

Author SHA1 Message Date
Olivier Lamy cfaf9559dd use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:28:52 +00:00
Maria Odea B. Ching 48b1538702 [MRM-1751] add merged index ttl to repo group configuration + unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1481952 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 16:23:22 +00:00
Olivier Lamy 616b41d781 no need of public method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471411 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 13:38:45 +00:00
Olivier Lamy a63168fbbc verify roles for repository are configured on startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471410 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 13:38:23 +00:00
Olivier Lamy 3c082f7e58 add some FIXME but not for this release :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471376 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 12:00:12 +00:00
Olivier Lamy cadd272aa0 log4j2 2.0-beta5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471362 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 10:41:53 +00:00
Olivier Lamy 3b64d5dca9 fix update/add for mergedIndexPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470359 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 22:56:28 +00:00
Olivier Lamy 65f55af646 configure default value for the path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470298 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 13:27:42 +00:00
Olivier Lamy 1323fcc1dc [MRM-1736] map roles to ldap groups
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1460936 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 00:07:51 +00:00
Olivier Lamy bdabf612a2 [MRM-1736] map roles to ldap groups
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1460935 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 00:07:15 +00:00
skygo 40c462af88 fix imports and minors warning sonar.
remove a space in transactions name pom.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1456696 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 22:12:24 +00:00
Olivier Lamy 7c7f3233bb make sure rbacmanager is not readonly before chaining write actions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449090 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 16:04:52 +00:00
Olivier Lamy b7df9ae27e ease users life for ldap setup make com.sun.jndi.ldap.LdapCtxFactory default if available.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449089 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 16:04:29 +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 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 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 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 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 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 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 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 a669b59c5a this class must be Serializable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427130 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:15:09 +00:00
Olivier Lamy 5fd9dbe55f preserve stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427057 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 09:28:40 +00:00
Olivier Lamy eb31b496e9 modification of ArchivaRuntimeConfiguration was not saved
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1426863 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 23:59:23 +00:00
Olivier Lamy 46a1c65169 [MRM-526] add services to configure the cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1426642 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 21:40:29 +00:00