I'd like to automatically redirect user to the originally requested page
after a successful authentication. How is one supposed to use
AccessControlFilter's saveRequest()? Looking at the Javadocs and the source
of AccessControlFilter and its subclasses, it seems like its meant to be
explicitly called by a subclass rather than controlled by setting some
property. Certainly I can make a custom implementation but it would likely
be useful if it was configurable. Compare
http://www.jsecurity.org/api/org/jsecurity/web/filter/AccessControlFilter.htmlto
Acegi's
http://www.acegisecurity.org/acegi-security/apidocs/org/acegisecurity/ui/AbstractProcessingFilter.html.
The latter contains a "defaultTargetUrl" but also automatically saves the
original target location, and the actual url used for redirect depends on
the value of alwaysUseDefaultTargetUrl flag. Just wondering if I missed some
class in Jsec/Ki where similar behavior is already implemented.

Kalle

Reply via email to