Issue Details (XML | Word | Printable)

Key: STR-2981
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Joe Germuska
Reporter: Joe Germuska
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts 1

Adjust AbstractAuthorizeAction to allow custom code to throw its own UnauthorizedActionException

Created: 01/Dec/06 12:14 AM   Updated: 04/Jul/07 03:36 AM
Component/s: Core
Affects Version/s: 1.3.5
Fix Version/s: 1.3.6


 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Joe Germuska added a comment - 01/Dec/06 12:17 AM
Fixed in r481115