You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Joe Germuska (JIRA)" <ji...@apache.org> on 2006/12/01 01:17:57 UTC
[jira] Resolved: (STR-2981) Adjust AbstractAuthorizeAction to allow
custom code to throw its own UnauthorizedActionException
[ http://issues.apache.org/struts/browse/STR-2981?page=all ]
Joe Germuska resolved STR-2981.
-------------------------------
Resolution: Fixed
Fixed in r481115
> Adjust AbstractAuthorizeAction to allow custom code to throw its own UnauthorizedActionException
> ------------------------------------------------------------------------------------------------
>
> Key: STR-2981
> URL: http://issues.apache.org/struts/browse/STR-2981
> Project: Struts 1
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.3.5
> Reporter: Joe Germuska
> Assigned To: Joe Germuska
> Priority: Trivial
> Fix For: 1.3.6
>
>
> I "instinctively" wrote a custom implementation of the isAuthorized method and threw UnauthorizedActionException; I hadn't noticed that the exception was being replaced by a newly created instance of UnauthorizedActionException.
> The AbstractAuthorizeAction should throw any UnauthorizedActionException it catches, instead of dropping it and creating a new one.
> I will commit this fix shortly.
--
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