Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
inprogressdoneinprogress
done
14.5
Simplify configuration of login callbacks and allow simpler webdav and rss support. See MAGNOLIA-3858@jira and MAGNOLIA-3863@jira.
Status

Rationale

Currently, one can configure multiple login callbacks by using CompositeCallback. With a fairly complex configuration, this allows to configure different callbacks based on the requested urls (typically /.magnolia will be protected by the regular Magnolia login form, while a protected but public section of a website will redirect a login form from the website itself).

...

I'm also assuming that this would make it simpler to have a multi-site aware callback.

Additionally, we're introducing an extra filter to "catch" the 401/403 status as well as AccessDeniedException}}s; existing subclasses of {{BaseSecurityFilter will not handle the callbacks anymore, but merely set an http status. The new filter will have callbacks configured and handle them.