Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Devstatus

...

Status

...

implemented

...

Target4.5

...

...

Simplifies configuration of login callbacks and

...

allows simpler

...

WebDAV and RSS support. See MAGNOLIA-3858@jira and MAGNOLIA-3863@jira.

Officialdocu
0Filters > Security Callback
1http://wiki.magnolia-cms.com/display/DOCS45/Filters#Filters-SecurityCallback
rss supportstatus

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.