Commit Graph

267 Commits

Author SHA1 Message Date
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
Olivier Lamy ce9d2fce63 configure maxElementsInMemory and maxElementsOnDisk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1426342 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:04:22 +00:00
Olivier Lamy b4b64ec49f oups missed a comma
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425381 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 00:07:57 +00:00
Olivier Lamy aa6cecb998 fix osgi import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425380 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 00:00:30 +00:00
Olivier Lamy ac4d4bb080 prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425375 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 23:44:40 +00:00
Olivier Lamy 4119701f84 fix bean mapping and init of ttl values from spring bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425373 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 23:44:08 +00:00
Olivier Lamy 292087cbea refactor the model for cache setup to have something reusable for url cache failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425372 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 23:43:37 +00:00
Olivier Lamy d767b764a1 fix ugly bean attribute names
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425057 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 17:55:33 +00:00
Olivier Lamy ba2bf91147 new field to configure ttl for users cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425001 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 16:25:42 +00:00
Olivier Lamy c3e33b9670 fix name as it is related to Redback and not to Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424675 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 20:33:35 +00:00
Olivier Lamy b9f36bd6b9 implements a dynamic cache configurable tru the ui for ArchivaConfigurableUsersManager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424673 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 20:32:43 +00:00
Olivier Lamy 9682660dbc review/comment/delete some FIXME
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424533 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:34:51 +00:00