Commit Graph

925 Commits

Author SHA1 Message Date
Brett Porter 1e99374aee start to migrate Archiva to the new role creation technique
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@450765 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 08:55:32 +00:00
Emmanuel Venisse f432e73c6d Remove db conf comments
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@450036 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 12:56:41 +00:00
Brett Porter 30bfe0adda [MRM-181,MRM-182] fix build and runtime configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448856 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 08:01:31 +00:00
Joakim Erdfelt 09164151bb Adding archiva.log output and audit.log output.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448344 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 21:16:11 +00:00
Brett Porter bff86a7088 upgrade derby
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448201 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 13:33:10 +00:00
Brett Porter 3a9ddca3d7 use data source instead
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448135 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 09:19:35 +00:00
Joakim Erdfelt 184b4bed37 * Adding back ability of ConfigurationInterceptor to redirect to the "Admin User Needed" action.
* Adding UserManagerListener to DefaultRoleManager to add dynamic roles to newly created users.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@448077 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 05:42:22 +00:00
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