Class CmsTwoFactorAuthenticationUserPolicy

java.lang.Object
org.opencms.security.twofactor.CmsTwoFactorAuthenticationUserPolicy

A policy that determines which users should use two-factor authentication.

A policy consists of two lists of rules: an include list, and an exclude list. A user should use two-factor authentification if they match at least one rule in the include list, and no rule in the exclude list. However, if the include list does not contain any rules, only the exclude list is checked.