Commit Graph

144 Commits

Author SHA1 Message Date
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 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 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 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 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 30c1cfa2a4 UserManagerException is now a checked Exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1419568 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:34:46 +00:00
Olivier Lamy 86a6ec5580 correctly map new field for rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418717 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:40:24 +00:00
Olivier Lamy 610002ab5f user now track userManagerImpl id they come from
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418716 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:40:08 +00:00
Olivier Lamy 6613e63575 use a named bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1418001 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 16:53:39 +00:00
Olivier Lamy 5c55300800 userConfiguration#default bean must be know declared tru an alias to avoid duplicate bean ids
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417908 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 14:31:05 +00:00
Olivier Lamy 2907ffa101 use a more classic name for this bean userConfiguration#default
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417782 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 09:09:45 +00:00
Olivier Lamy 3c6f8dc455 moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417396 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:48 +00:00
Olivier Lamy eef9c73382 start moving configuration keys to a constant class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417395 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:56:03 +00:00
Olivier Lamy 7878eec5cb fix some osgi imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417086 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:51 +00:00
Olivier Lamy 5d166ecce8 rid of plexus utils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417083 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:19:03 +00:00
Olivier Lamy 7ebf8f68ab remove plexus-utils usage to commons-*
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417080 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:16:52 +00:00
Olivier Lamy 75af5e0fec authenticator do not return key so add a message field
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416991 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:26:55 +00:00
Olivier Lamy dd93a29b34 if any exception must be returned in rest response
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416990 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:26:25 +00:00
Olivier Lamy 86657b2894 force an implementation name to prevent issue when more than one available
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1416075 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 23:09:36 +00:00
Olivier Lamy 8bf7b14a83 extract an interface to be able to override the impl in archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414452 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:50:13 +00:00
Olivier Lamy b23cf34cc0 rename UserConfiguration to DefaultUserConfiguration to be able to extract an interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1414451 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:48:18 +00:00
Olivier Lamy 781c294599 return updated user and un comment tested code
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412794 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:29:18 +00:00
Olivier Lamy daeecfa8a0 [MRM-1708] When using LDAP, users can still edit their details upon login.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412793 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 09:28:48 +00:00
Olivier Lamy 318e1f0ea6 remove this ugly Object getPrincipal
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412684 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:55:21 +00:00
Olivier Lamy 5825a992f9 do not use harcoded userManager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412680 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 21:52:50 +00:00
Olivier Lamy b9ab27cd41 remove not anymore used class
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412571 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 14:54:29 +00:00
Olivier Lamy f49dfbd78c use non deprecated variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412567 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 14:45:45 +00:00
Olivier Lamy 663473b58d storing User in AuthenticationResult to avoid searching it again
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412362 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 23:35:09 +00:00
Olivier Lamy 61439213d3 add log4j2-test.xml file
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412340 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:31:16 +00:00
Olivier Lamy ad6312856b use log4j2
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412339 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:31:00 +00:00
Olivier Lamy 8d8209a2fb use last tomcat version
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412338 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:30:45 +00:00
Olivier Lamy 0ada359748 missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412337 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:30:29 +00:00
Olivier Lamy 3e9447142e add configuration files for test to prevent unit failures
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412336 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:30:16 +00:00
Olivier Lamy a9ae52e2ac remove some system.out
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412335 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:29:59 +00:00
Olivier Lamy af82c9bdc9 remove non used code and fix logging call
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1411881 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 21:20:05 +00:00
Olivier Lamy c45ea842a9 fix bean id
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1411874 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 21:12:19 +00:00
Olivier Lamy 588444b317 remove not anymore needed dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1399147 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 08:25:50 +00:00
Olivier Lamy 2ed3ade989 remove redback-jsecurity module from reactors
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1399144 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 08:08:27 +00:00
Olivier Lamy 0e0dea5057 redback-jsecurity is not used so move it to retired.
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1399143 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 08:07:34 +00:00
Olivier Lamy 3e9de575ac non RC of jsecurity
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1399142 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:55:01 +00:00
Olivier Lamy e7bd58f6fc remove not used anymore classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1396046 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 14:36:57 +00:00
Olivier Lamy f7119c865c remove struts related classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1395915 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 08:47:36 +00:00
Olivier Lamy e2fc0519b1 remove struts related classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1395914 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 08:47:21 +00:00
Olivier Lamy 51b836a084 taglib not anymore needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1395902 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 08:15:41 +00:00
Olivier Lamy ef9564e7a7 extreme component not anymore needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1395901 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 08:15:25 +00:00
Olivier Lamy 58b1f02eb3 remove struts2 from reactor
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1395895 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 08:00:05 +00:00
Olivier Lamy 0986c88851 [MRM-1686] stop support of struts2 webapp.
move redback part to retired.



git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1395894 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 07:59:02 +00:00
Olivier Lamy ad474747bd add enunciate.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1394787 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 20:27:05 +00:00