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
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
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
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
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
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
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
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
1f481e2126
[MRM-77] ability to regenerate the report
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441573 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 16:56:58 +00:00
Brett Porter
44dce10087
[MRM-77] preliminary reporting web interface
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441516 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 14:33:45 +00:00
Emmanuel Venisse
3e5e310c64
Use the new groupId of jstl
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441425 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 08:10:16 +00:00
Brett Porter
90f0dddc43
[MRM-161] introduce a model for storing reports in the repository, and wire them up on the back of the indexer.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441377 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 05:16:51 +00:00
Brett Porter
2ae0f74fec
remove completed TODOs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441376 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 05:14:55 +00:00
Brett Porter
c6eac18301
fix artifact ID
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441356 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 02:40:42 +00:00
Jesse McConnell
cd5c7d2a72
small example authz file that lets me test authz with a user on a page
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441141 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 16:55:55 +00:00
Jesse McConnell
158f91cccb
starting to use the plexus-security bits now, the store-model.xml file will eventually going away, the login and logout actions now work and you can register a user now and login. doing so doesn't do anything for you atm, but its the start showing the security system being used in actions. next will come authorization implementation and usage
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441128 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 16:05:47 +00:00
Brett Porter
e4cfdac7b3
[MRM-161] remove scheduled execution, as it will be synchronised with the indexing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440607 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 04:02:08 +00:00