Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Auth Core 1.0.6
-
None
Description
Currently the sling.auth.redirect request parameter is handled by AuthenticationFeedbackHandler services or the DefaultAuthenticationFeedbackHandler. The latter always respects the sling.auth.redirect while some authentication handlers may decide to only respect it when first authenticating.
If impersonation changes (indicated by a sudo request parameter having a different value than the current sudo cookie value) the sling.auth.redirect parameter should also be respected regardless of whether the actual AuthenticationFeedbackHandler respects the parameter or not.