[ http://issues.apache.org/struts/browse/WW-1469?page=all ]
Don Brown resolved WW-1469.
---------------------------
Fix Version/s: 2.0.2
Resolution: Fixed
Assignee: Don Brown
I added an interceptor that let's you restrict based on its roles. We can
improve it later, perhaps, by supporting annotations on the action and/or a
getRoles() method.
> Canonical or example app-based, role-based authentication methodology
> ---------------------------------------------------------------------
>
> Key: WW-1469
> URL: http://issues.apache.org/struts/browse/WW-1469
> Project: Struts 2
> Issue Type: New Feature
> Affects Versions: 2.0.2
> Reporter: Dave Newton
> Assigned To: Don Brown
> Priority: Minor
> Fix For: 2.0.2
>
>
> Rather than implementing full-blown Acegi access control it would be nice if
> there was a built-in way to do simple role-based authentication from within
> the application, similar to how we used to override processRoles in Struts1.
> This might be as easy as adding a csvRoles (or whatever) getter to
> ActionSupport to imply a default param for setting an Action's allowable
> roles and supplying a canned, configurable interceptor that would process it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira