[ 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