Commit Graph

799 Commits

Author SHA1 Message Date
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
Jesse McConnell e5610b9357 fix second person registering issue
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442127 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 08:43:22 +00:00
Jesse McConnell d89e505d1e remove unneeded file
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442122 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 08:15:33 +00:00
Jesse McConnell dd3f12a49f plexus-security integration part deux, we have access control working using user manager based authentication, jdo user manager store and jdo rbac authz stores. sample authz is included in several of the jsp files. notes, the jsp/admin/rbac jsp files are temporary, useful for debugging potential role issues for the moment only, they are not meant to be a lasting part of archiva. derby is the db being used, and its located in src/main/webapp/WEB-INF/database if you are using jetty locally
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442119 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 08:05:03 +00:00
Brett Porter d1752d8e60 [MRM-60] add support for notices in addition to warnings and failures
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442098 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:55:27 +00:00
Brett Porter 0f5630ecf1 [MRM-166] add filtering and problem identification
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442072 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 02:13:21 +00:00
Brett Porter 40b955d387 [MRM-166] better display of ungenerated reports, and only list metadata that has had failures or warnings
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442039 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 00:01:48 +00:00
Brett Porter b57273dff3 [MRM-166] add multiple report groups
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442028 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 23:21:19 +00:00
Brett Porter 9dd5b3e988 clarify some TODO elements
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441803 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:51:32 +00:00
Brett Porter 1a3026414e [MRM-166] select repository to show in reports page
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441799 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:47:24 +00:00
Brett Porter 8630479fc6 [MRM-166] ignore .reports and .index when doing discovery
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:28:22 +00:00
Brett Porter cad717586f [MRM-166] move reports to .reports in preparation for multiple results
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441797 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:27:15 +00:00
Brett Porter ffded4338d [MRM-167] add the execution times to the report
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441795 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:19:42 +00:00
Brett Porter 157f00698d [MRM-166] ability to filter reports to specific problems (white site)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441792 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 14:50:31 +00:00
Brett Porter d39cbc72b5 [MRM-166] white site additions for multiple report execution
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441790 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 14:46:31 +00:00
Brett Porter b37020b275 [MRM-77] avoid problems with metadata reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441780 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 11:27:23 +00:00
Brett Porter b340526e56 [MRM-77] move reports to admin namespace
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441778 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 11:13:31 +00:00
Brett Porter 5e188c6041 flush cache at the correct point
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441777 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 10:35:39 +00:00
Brett Porter 2906f4b296 [MRM-77] run report in the background
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441757 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 08:08:37 +00:00
Brett Porter 9c557abae7 [MRM-77] hadle some edge cases in reports
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441751 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 07:05:03 +00:00