Commit Graph

98 Commits

Author SHA1 Message Date
Olivier Lamy b524b55203 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1558685 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:25:47 +00:00
Olivier Lamy 6cdf2e135b [maven-release-plugin] prepare release redback-2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1558683 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:25:16 +00:00
Olivier Lamy cdb5d9d9c5 use a better name for this field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1556422 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 01:34:57 +00:00
Olivier Lamy eadb1849d7 add a method to find user without using caching: jdo update need the object detach from database not a cached one
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1551098 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 01:26:26 +00:00
Olivier Lamy 7c8d917eca use last fest-assert version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1547789 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 12:37:19 +00:00
Olivier Lamy cfcc2b4d8b fix logging warn level
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1546883 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 02:56:08 +00:00
Olivier Lamy a26bbf6561 formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1539895 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 01:22:36 +00:00
Olivier Lamy 21834d0808 [MRM-1791] ldap group mapping support for active directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1539894 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 01:22:14 +00:00
Olivier Lamy 48c2af9ccd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479458 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:31:43 +00:00
Olivier Lamy 2ed2373b1e [maven-release-plugin] prepare release redback-2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479456 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 02:30:46 +00:00
Olivier Lamy 37698bf6ab version inherited from parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479446 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 01:48:13 +00:00
Olivier Lamy 6eb88862d0 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1479090 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 12:42:35 +00:00
Olivier Lamy 4a57b05074 move LdapConnection to an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477971 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:19:20 +00:00
Olivier Lamy d1b77ab248 rename to default to have an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477970 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:17:49 +00:00
Olivier Lamy 4ecba94f20 rename to default to have an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477968 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:17:23 +00:00
Olivier Lamy 29ab886c64 ensure we use ssl and ldaps is deprecated
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1477967 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 12:15:54 +00:00
Olivier Lamy 88610b6e15 add some debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1476566 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 12:53:19 +00:00
Olivier Lamy 9d2ddec92b fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1460518 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 03:27:34 +00:00
Olivier Lamy e48423276c removed non needed commented code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1460501 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 01:18:55 +00:00
Olivier Lamy ee90856b84 remove non needed method
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1460500 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 01:10:27 +00:00
Olivier Lamy a8f651e8a6 better logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1451780 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 23:44:13 +00:00
Olivier Lamy 490f1f5656 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1445541 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:19:24 +00:00
Olivier Lamy 7ba48cf494 ensure a named bean is used
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1441828 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 23:06:40 +00:00
Olivier Lamy 69006984c4 add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440556 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:49:01 +00:00
Olivier Lamy 9340fb401e add default in memory implementation for testing purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440552 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:46:43 +00:00
Olivier Lamy 93b6a7718d cleanup interface and add default implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440551 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:46:05 +00:00
Olivier Lamy b10b504562 change signatures to ease ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1440547 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 17:42:14 +00:00
Olivier Lamy 921d02c1ad add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439704 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:58:12 +00:00
Olivier Lamy 17c7f540f3 add classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439701 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:55:10 +00:00
Olivier Lamy ef0cad75d3 extract to a component to ease override with Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1439700 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:54:54 +00:00
Olivier Lamy e8c9121897 honor useDefaultRoleName when searching all roles/groups from ldap
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437805 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:51:43 +00:00
Olivier Lamy df0a55dab7 if using useDefaultRoleName we must check role really exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437035 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:36:38 +00:00
Olivier Lamy 078b26ba3c do not add group as role
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1437034 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:36:08 +00:00
Olivier Lamy 26afe7802f ensure using default role names when configured
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436685 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 23:11:33 +00:00
Olivier Lamy 931c1cd295 fix user dn when adding user to a group
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436674 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:44:00 +00:00
Olivier Lamy a30eb5b561 fix user dn when adding user to a group
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436673 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:43:45 +00:00
Olivier Lamy e12772a856 make start user dn configurable
some use cn= or uid= or sn= etc..
so it's now configurable with default uid=

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436669 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 22:42:42 +00:00
Olivier Lamy 8c1281d905 remove non used field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1435279 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 17:59:19 +00:00
Olivier Lamy 83928256b5 take care of already existing group so do not fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1434059 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 17:29:39 +00:00
Olivier Lamy 0c104fb59a typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433979 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:20:38 +00:00
Olivier Lamy 0b09f58b18 add unit test for hasRole
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433978 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:16:43 +00:00
Olivier Lamy 1222b2b217 catch NameNotFoundException to return false as we check a group existence
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433977 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:16:28 +00:00
Olivier Lamy a02fa42251 map a ldap group to n roles
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433962 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 14:48:58 +00:00
Olivier Lamy 383a176278 reuse context when possible
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433712 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 22:32:09 +00:00
Olivier Lamy fe2ebb0961 ldap rbacmanager still 2 issues to fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:23:25 +00:00
Olivier Lamy 030ecf0664 fix some unit test for Ldap rbacmanager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433396 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:22:03 +00:00
Olivier Lamy 56f7b83925 add ldap rbac manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433395 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:20:57 +00:00
Olivier Lamy 850575cd71 add method to get directly roles for a user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433392 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:19:24 +00:00
Olivier Lamy 710b4632d7 fix default groupdn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430635 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:55:16 +00:00
Olivier Lamy 05703e5a23 default groupsdb is basedn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430626 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 23:20:25 +00:00