Local login filter

Content Type: Module
Categories: Authentication

Overview

This module allows control over who can login using local accounts.

If SSO is your main way of logging in, this can be used to deny access (for all or particular groups) to those who are trying to login using built-in credentials.

Documentation

Local Login Filter

Description

This module allows control over who can login using local accounts.

If SSO is your main way of logging in, this can be used to deny access (for all or particular groups) to those who are trying to login using built-in credentials.


Typical usage scenario

This is typically applied when your application should only be accessible through SSO.

The local login filter can be configured in 2 ways:

  • Block all access using local login
  • Use a microflow to determine if a user is allowed to login

Features and limitations

Can be globally enabled/disabled (e.g. to allow temporary access by an administrator to configure SSO).

Exceptions can be modeled using a microflow.


Dependencies

None.


Installation and configuration

Attach the AfterStartup microflow from the USE_ME folder to your startup flow.


If you want to implement granular filtering, configure your microflow in the constant LocalLoginFilter.FilterMicroflow.

An example of how such a microflow should be implement, take a look at LocalLoginFilter.EXAMPLE_FilterUser.

Releases

Version: 2.0.0
Framework Version: 9.18.0
Release Notes: Rebrand and allow developers to build logic to control if a user is allowed to login (e.g. based on role or property).
Version: 1.3.0
Framework Version: 9.18.0
Release Notes: Converted to 9.18 for Mendix 10 compat.
Version: 1.2.0
Framework Version: 8.12.0
Release Notes: To support 8.12.0 and up.
Version: 1.1.0
Framework Version: 7.23.0
Release Notes: Version 1.1 for >= 7.23.0.
Version: 1.0.0
Framework Version: 7.13.1
Release Notes: Version 1.0 to make it available for Mendix 7.12-7.22.