Commit Graph

918 Commits

Author SHA1 Message Date
Brett Porter 70618a63a9 [MRM-137] rename security defaults, and make default construction a load-on-start component instead of waiting for requests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448028 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 02:01:00 +00:00
Brett Porter 7d0e395769 ignore derby.log
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448027 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 01:36:40 +00:00
Jesse McConnell 9b13beba5d fix the redirect on registration to go to the login page as opposed to the browse page
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447983 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 21:43:10 +00:00
Brett Porter b08bb7abc1 formatting, and remove archiveClasses as it is unneeded
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447835 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 12:53:45 +00:00
Jesse McConnell f34871ea6d added in a refresh in case the user store is nukes and the repos still exist, it will now add roles for the existing repos.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447799 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 10:28:26 +00:00
Jesse McConnell c8f3d6ba77 added a checkboxlist.ftl
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447796 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 10:03:18 +00:00
Jesse McConnell 83330beec2 new plexus-security snapshots with the authz mostly working minus some formatting and an odd duplication issue I am lookin into now to see if its a ui quirk.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447780 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 08:43:03 +00:00
Brett Porter 04e602f652 adjust tests to work even if they are exported from SVN rather than a checkout
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447735 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 05:09:52 +00:00
Brett Porter bfdad1b0f7 add a plexus-application and plexus-runtime so that Archiva can be run standalone using the jetty service
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447708 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 03:34:30 +00:00
Jesse McConnell 5453aa4a18 adding the index back in
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447675 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 02:00:29 +00:00
Brett Porter b4a5ea7fb3 more exclusions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447672 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 01:44:54 +00:00
Joakim Erdfelt 89fedaf3db [MRM-137] The big plexus-security integration commit.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447657 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 00:39:24 +00:00
Joakim Erdfelt ccd6dca3ea Minor property update to test new commit rights.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447651 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 00:04:47 +00:00
Brett Porter d9d167c5c3 Add a tab for dependency tree
Submitted by: Pete Marvin King (with modifications)


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@447183 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 01:40:26 +00:00
Jesse McConnell 18c7e96632 removing the secure action interceptor since joakim was having classnotfoundexceptions with it that I haven't been able to reproduce, so better safe then sorry so just removing it for the time being until I can track down the issue.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446819 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 04:38:02 +00:00
Jesse McConnell 1ef65b87ed throw an exception int he secure action code when the session is null, telling the interceptor to deny access
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446712 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 20:03:12 +00:00
Jesse McConnell bceb4898ea aligned the UserManagementAction with the cleaned up SecureAction interface in plexus-security
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446659 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 17:15:23 +00:00
Brett Porter d221e70b91 set correct line endings
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446573 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 11:03:30 +00:00
Brett Porter 352a0e03a5 no longer part of the maven release
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446529 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 06:11:20 +00:00
Jesse McConnell 4ef19c632b UserManagementAction is now implementing the SecureAction interface from plexus-security, all action statements in the xwork.xml using this Action now require authenticated sessions and that the user using them has edit-user or edit-all-users operations granted. Before we go any further on these I am hoping folks can take a peek and see if its too clunky or if perhaps we should change the interfaces for this type of functionality.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443495 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 21:56:43 +00:00
Jesse McConnell 8f32614cf9 added in the security policy mechanism for guest users in the DefaultArchivaDefaults, another joakim patch
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443392 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 16:19:02 +00:00
Maria Odea B. Ching 28baa27be4 Submitted by Joakim Erdfelt
Fix for plexus security error when running archiva webapp. (several outstanding bugs were fixed in plexus-security-authorizer, but those bug fixes impacted archiva-webapp.)

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443318 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 11:27:42 +00:00
Jesse McConnell 18c425ea7c another joakim patch, this time adding some test cases for this previous patch and fixing up some permissions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443255 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 06:15:15 +00:00
Jesse McConnell 997a1988c0 fixed up the user manglement page to work with the multiple entry points to it, as well as the granting of roles from the forms
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443254 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 06:05:59 +00:00
Maria Odea B. Ching 3ca919b9f3 Updated ConfigurationAction. Removed cron expression validation in execute(). Created method for getting the cron expression.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443212 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 03:39:47 +00:00
Brett Porter e89a397189 fix imports
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443204 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 02:59:51 +00:00
Jesse McConnell 4f9f32be51 MRM-172 patch provided by joakim for adding webdev authenticationa nd authorization support for connecting clients accessing managed repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443183 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 01:29:27 +00:00
Jesse McConnell ca5303139b move a couple of pages around and improve an action
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443124 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 21:17:14 +00:00
Jesse McConnell e0e1b86df1 remove the role debugging actions declarations and corresponding jsps
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443041 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 17:37:36 +00:00
Jesse McConnell f079ef8f1d intern work on making user.jsp support user management for other people, keeping it simple for eventual integration with a more complete plexus user management
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@443023 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 17:04:17 +00:00
Maria Odea B. Ching afbb9de2b4 Created one input form used by register.jsp and registerAdmin.jsp.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442940 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:07:11 +00:00
Maria Odea B. Ching d63313093d Revised the validation for cron expression. Also revised the configure.jsp page (for the cron editor) -- removed the <table> tags.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442925 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 10:11:04 +00:00
Brett Porter 7d6f2e7122 [MRM-163] add support for legacy repo javadoc and source jars
Submitted by: nicolas de loof


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442847 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 05:21:12 +00:00
Jesse McConnell 74797f8efe adding validator from patch by joakim, thanks!
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442773 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 00:40:25 +00:00
Jesse McConnell 6aafdc87a0 applied patch from joakim that cleaned up some jsp, thanks!
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442771 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 00:35:45 +00:00
Jesse McConnell f4aef56ff6 minor textual improvements
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442749 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 22:57:27 +00:00
Jesse McConnell 94a9fd0ee0 now that we have a forced admin user creation, no need for the cheating sidebar of role granting
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442744 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 22:39:29 +00:00
Jesse McConnell a2c359a19f new setup wizard that forces the creation of an administrator user
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442742 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 22:31:02 +00:00
Jesse McConnell d671cfc524 added additional checks for report viewing and generation
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442726 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:50:57 +00:00
Jesse McConnell bf694ebfed fix permission name reference
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442703 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 20:58:26 +00:00
Jesse McConnell cc1180e914 fix permission name reference
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442700 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 20:55:43 +00:00
Jesse McConnell 684fe571a5 added some new permissions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442699 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 20:54:04 +00:00
Jesse McConnell 938c0ac92b reworked login and register so flow is improved and its functional!
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442680 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 19:44:24 +00:00
Jesse McConnell f84cd0a20e moderately working authz on many of the important jsp pages and improvements in the corresponding actions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442672 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 18:44:16 +00:00
Maria Odea B. Ching 1e72457fd7 Updated cron expression editor (configure.jsp). Added validation for cron expression.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442513 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 08:12:25 +00:00
Brett Porter 9c27e8b4f7 [MRM-60] add an "old snapshot artifact" report
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442502 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 07:20:42 +00:00
Brett Porter 7e1fe8ef3c [MRM-60] add a basic "old artifact" report
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442459 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 05:46:12 +00:00
Jesse McConnell 434f84adba improved the flow of login / registration and decorator
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442298 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 19:24:10 +00:00
Brett Porter d1a72cddd5 make test order independant
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442226 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 14:11:50 +00:00
Brett Porter 101210c5ed fix processor construction
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442221 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 13:51:28 +00:00