Commit Graph

642 Commits

Author SHA1 Message Date
Olivier Lamy 37f469f651 no need to use toString on a String
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428649 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 22:36:52 +00:00
Olivier Lamy 3b26b412f0 caches not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428614 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 21:43:23 +00:00
Olivier Lamy 9b89e0ec65 remove commented code
caching will be in LdapRbacManager.

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428613 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 21:43:12 +00:00
Olivier Lamy 94ee7125c3 improve performance to retrieve all groups of a user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428612 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 21:42:57 +00:00
Olivier Lamy f7507f4aed cleanup test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428588 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 20:50:41 +00:00
Olivier Lamy 3baf51d440 baseDn can be different from groups dn
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428586 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 20:50:23 +00:00
Olivier Lamy 520d2a5353 jackson version is defined in parent pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428497 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:33:48 +00:00
Olivier Lamy c4bd8f73d0 use a StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:31:35 +00:00
Olivier Lamy be41cf4c55 cosmetic formatting changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428493 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:28:32 +00:00
Olivier Lamy 32019ebd9d basic svn:ignore for new module
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428486 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:14:38 +00:00
Olivier Lamy 2916f47724 remove empty directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428485 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:13:44 +00:00
Olivier Lamy c197d5bf5e improve unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428479 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:59 +00:00
Olivier Lamy 21d8136f46 fix units tets
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428478 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:44 +00:00
Olivier Lamy ea517a8c7f mojo version in pluginMngt in root pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428476 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:21 +00:00
Olivier Lamy 05a128bc6e use dynanic ldap port allocation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428475 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:13 +00:00
Olivier Lamy 56b338cb19 move user concerns to a specific package
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428474 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:03:03 +00:00
Olivier Lamy 72e1da8091 add a ldap role mapper
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428472 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:02:10 +00:00
Olivier Lamy e1c0623d31 snippet for get rest user service
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428292 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 11:29:22 +00:00
Olivier Lamy 9b53cd4e29 formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428291 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 11:29:06 +00:00
Olivier Lamy 0fd70854be make initilialze method public for dynamic reload
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428125 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:50 +00:00
Olivier Lamy 455093d86c this return a String so no need to do toString on Object
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428124 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:37 +00:00
Olivier Lamy b951dc02fd no need of synchronized block here
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428123 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:15 +00:00
Olivier Lamy fef0fdf2d4 remove not anymore needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428121 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:00 +00:00
Olivier Lamy 040229a607 remove not anymore needed cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428120 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:14:44 +00:00
Olivier Lamy 4dc5b15eee fix bean naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427884 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 18:05:45 +00:00
Olivier Lamy 6d071d6b8e prefer a static final class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427142 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:35:02 +00:00
Olivier Lamy 32df571259 use indexOf(char)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427141 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:34:49 +00:00
Olivier Lamy beeb4f5264 do not use printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427140 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:34:35 +00:00
Olivier Lamy 8b538cf1ad avoid toString of String
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1427139 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:34:21 +00:00
Olivier Lamy a522ed98fb NPE free
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424973 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:32:24 +00:00
Olivier Lamy dc712ce923 isLogged return the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424972 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:32:09 +00:00
Olivier Lamy c818f5a22e cxf 2.6.4
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424760 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 23:35:26 +00:00
Olivier Lamy 2adae327df test last version version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424751 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 23:17:57 +00:00
Olivier Lamy 31930c1e2b non secure per default
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424235 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 23:58:53 +00:00
Olivier Lamy bcfecde0c8 add a secure cookie property for rememberme
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424222 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 23:32:52 +00:00
Olivier Lamy 55ebedebde make more sense to have this cookie expire value in days
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424209 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 23:05:17 +00:00
Olivier Lamy 1003c41e2b spring 3.2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1423822 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 11:05:04 +00:00
Olivier Lamy 0a00f617a1 log time to init
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1423715 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 23:34:56 +00:00
Olivier Lamy 856e7d19ba for security reasons prevent displaying messages such "Password is Invalid for user admin"
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1423699 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 22:43:52 +00:00
Olivier Lamy ceba9d2afe missed to add a class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421471 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:04:36 +00:00
Olivier Lamy d37b46e5c7 expose intialize method for Authenticator to make it reloadable
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421469 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:04:16 +00:00
Olivier Lamy 8e5d19325d remove password from toString method
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421464 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:03:07 +00:00
Olivier Lamy ea77187178 add a method to be able to test a LdapConnectionConfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421463 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:02:47 +00:00
Olivier Lamy 626a747eac fix javadoc due to https://jira.codehaus.org/browse/ENUNCIATE-723
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421215 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 10:45:54 +00:00
Olivier Lamy 9d770f468a add new constants
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421131 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:35:09 +00:00
Olivier Lamy 6d9972fcf9 revert bad idea sub classes do not need to know parent class implementation details
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421130 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:34:54 +00:00
Olivier Lamy fedd4fc720 move this field to protected for sub class access too
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421129 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:34:35 +00:00
Olivier Lamy f6e14ae1a6 make this logger protected for sub classes access
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1421128 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 08:34:16 +00:00
Olivier Lamy 37ea4b5254 make initialize method public
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1420236 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:54:55 +00:00
Olivier Lamy 88e6fb2c2a make initialize method public to be able to re initiliaze ldap configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419886 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 23:57:34 +00:00