Commit Graph

3889 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 f8ae2f2f25 fix error message when cannot validate ldap connection
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448674 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:57:40 +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 c8adb4d673 add some caching in the chained rbac manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448661 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:37:38 +00:00
Olivier Lamy c3a315669b change dynamically rbacmanagers used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448659 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:37:13 +00:00
Olivier Lamy a31d36f8a2 log stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448658 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:36:54 +00:00
Olivier Lamy cdb98980d1 better error report
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448656 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:36:36 +00:00
Olivier Lamy 7f806d34dc add error message in case of error 500
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448653 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:36:18 +00:00
Olivier Lamy 659fa128b8 really chain of rbac manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448652 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:36:05 +00:00
Olivier Lamy a2c520430f use a better method name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448651 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:35:43 +00:00
Olivier Lamy cf74f4eee2 reload rbac manager if changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448448 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 22:39:53 +00:00
Olivier Lamy 229a411720 add missing i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448334 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:09:22 +00:00
Olivier Lamy 94defd4909 [MRM-1736] fix ui to update rbacmanager used.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448333 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:08:57 +00:00
Olivier Lamy dabfdcec7e it looks I missed something my bad
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447754 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:08:25 +00:00
Olivier Lamy 9f9d3f9450 ui for change rbac manager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447480 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:32:28 +00:00
Olivier Lamy 9893b2d923 add renamed bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447479 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:32:05 +00:00
Olivier Lamy a20c409776 align method names with bean name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447478 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:31:47 +00:00
Olivier Lamy af232e9cf0 add new service to ease ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447477 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:31: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 17545afe55 move spring declaration in WEB-INF/applicationContext.xml to ease manual setup/override
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447469 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:29:54 +00:00
Olivier Lamy 7d38786177 add a comment on the reason of this dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447248 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:27:28 +00:00
Olivier Lamy e51655765a add xerces impl to help was8 to load archiva webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447247 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:27:17 +00:00
Olivier Lamy 3857a2b7e6 missing i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447204 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 11:22:13 +00:00
Olivier Lamy fc19422920 do not ask ldap informations if ldap is not activated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447203 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 11:21:58 +00:00
Olivier Lamy f127c7f705 use new bean mapping in js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447169 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:30:13 +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 28acc7ec3a fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447167 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:29:21 +00:00
Olivier Lamy c46e8dbd0f service to provide available rbacmanager implementations informations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447165 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:29:06 +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 8a34bce31c add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447104 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:51:24 +00:00
Olivier Lamy b9c19ce3c2 add closeQuietly method for repository session when only reading we can ignore this error.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447103 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:51:08 +00:00
Olivier Lamy 633f2cbfa1 more logs to try understand why intermintent failure on jenkins
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447068 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:19:21 +00:00
Olivier Lamy 8405a4882f correctly display screen when ldap is not activated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446978 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 23:25:11 +00:00
Olivier Lamy 33f07a244e add rat exclusion for this file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446591 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 14:14:46 +00:00
Olivier Lamy c378b09688 [MRM-1736] map roles to ldap groups
update mapping implemented.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446590 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 14:14:35 +00:00
Olivier Lamy 4f75fa5daa [MRM-1736] map roles to ldap groups
ui part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446589 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 14:14:19 +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 3d19a1d2d7 try to enforce more use of XMLInput factory for ibm issue with generated stax readers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446362 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 22:12:19 +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 f5f2a56e53 add comment on why woodstox (stax impl) is included in the war
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445992 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:53:01 +00:00
Olivier Lamy 3a6ca7f446 add missing i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445991 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:52:50 +00:00
Olivier Lamy c7292ca00e cleanup logging and not displayed mapped ldap group to roles in screen
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445990 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:52:34 +00:00
Olivier Lamy 5949f62832 comment doclava use as it can break
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445942 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 21:38:09 +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 1e890d9d07 add better manifest content for the generated war
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445550 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:55:44 +00:00
Olivier Lamy 4394b06f50 add back a stax parser impl as there is issue with generated stax reader by modello for ibm jdk.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445546 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:44:58 +00:00
Olivier Lamy 2f2aa2fb77 modify ldap bind authenticator enabled with the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445545 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:31:44 +00:00