Is it possible, inside an interceptor, to "grab" the URL of the current request?
The typical scenario for why I would like to be able to do that: 1) A user is about to perform MyRestrictedAction, but (say) the user lacks authentication for that particular action. 2) CheckUserAuthenticatedInterceptor butts in and throws a UserNotAuthenticatedException which (globally-)redirects to some Login page. (Both the UserNotAuthenticatedException and the LoginAction classes are "TargetAware", that is, they can be told about the ultimate target of this temporary interception of the normal flow.) 3) On successful login, the (TargetAware) LoginAction redirects to action MyRestrictedAction, to resume where we left off. To make that seamless, it would be necessary, in step 2, for the CheckUserAuthenticatedInterceptor to record the current URL... Suggestions? (I am assuming that a possible answer will involve chaining in a clever way invocation.getActionContext().getSomethingOrOther().getUri(), and then there will be headachy questions about the parameters, etc.)