[Geoserver-devel] [JIRA] (GEOS-9905) Fix login/logout form pluggability

Andrea Aime created an issue

GeoServer / BugGEOS-9905

Fix login/logout form pluggability

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

12/Feb/21 2:50 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

Currently the login form pluggability is not working correctly, as the LoginFormInfo is baked in the application context files, and given a fixed “name” attribute, and compared with the names of filters in the web chain, in order to activate a given login form.
That works for “form”, because the name used in the web chain is rarely modified by users, but won’t for other login protocols, because the name is chosen by the user and is unlikely to match what’s in the app context.

For the logout forms, the pluggability instead is making no sense, as there is a single logout handling that triggers logout on all filters (only one will actually do something sensible of course, the one of the method actually used for the login). So, LogoutFormInfo should go, replaced by a simple logout button.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154-sha1:ae50352)

Atlassian logo