MFA can be triggered for all users/subjects carrying a specific attribute that matches one of the conditions below.
* Trigger MFA based on a principal attribute(s) whose value(s) EXACTLY matches an MFA provider. This option is more relevant if you have more than one provider configured or if you have the flexibilty of assigning provider ids to attributes as values.
...
2017-04-03 13:18:05,808 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <LDAP response returned as result. Creating the final LDAP principal>2017-04-03 13:18:05,809 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Creating LDAP principal for dimitri based on uid=dimitri,ou=People,dc=example,dc=com>2017-04-03 13:18:05,810 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Retrieved principal id attribute dimitri>2017-04-03 13:18:05,810 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Found principal attribute: [yubiKeyId[cccscedtfar]]>2017-04-03 13:18:05,811 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Found principal attribute: [givenName[Dimitri]]>2017-04-03 13:18:05,812 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Found principal attribute: [businessCategory[mfa-yubikey]]>2017-04-03 13:18:05,813 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Found principal attribute: [sn[Gavrilov]]>2017-04-03 13:18:05,813 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Found principal attribute: [cn[dimitri]]>2017-04-03 13:18:05,814 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Created LDAP principal for id dimitri and 6 attributes>2017-04-03 13:18:05,816 INFO [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <LdapAuthenticationHandler successfully authenticated dimitri>2017-04-03 13:18:05,817 DEBUG [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <No resolver configured for LdapAuthenticationHandler. Falling back to handler principal dimitri>2017-04-03 13:18:05,817 DEBUG [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Final principal resolved for this authentication event is dimitri>2017-04-03 13:18:05,818 DEBUG [org.apereo.cas.authentication.AllAuthenticationPolicy] - <Authentication policy is satisfied.>2017-04-03 13:18:05,819 INFO [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authenticated principal [dimitri] and attributes {businessCategory=mfa-yubikey, commonName=Dimitri, givenName=Dimitri, LdapAuthenticationHandler.dn=uid=dimitri,ou=People,dc=example,dc=com, sn=Gavrilov, yubiKeyId=cccscedtfar} with credentials [dimitri].>
2017-04-03 13:18:05,820 DEBUG [org.apereo.cas.audit.spi.ThreadLocalPrincipalResolver] - <Resolving principal at audit point [execution(Authentication org.apereo.cas.authentication.AbstractAuthenticationManager.authenticate(AuthenticationTransaction))]>
2017-04-03 13:18:05,821 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: dimitri
WHAT: Supplied credentials: [dimitri]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Mon Apr 03 13:18:05 CEST 2017
CLIENT IP ADDRESS: 192.168.168.12
SERVER IP ADDRESS: 192.168.168.16
=============================================================
>
2017-04-03 13:18:05,822 DEBUG [org.apereo.cas.authentication.DefaultAuthenticationTransactionManager] - <Successful authentication; Collecting authentication result [org.apereo.cas.authentication.DefaultAuthentication@9f0afc06]>
2017-04-03 13:18:05,824 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,825 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,825 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,826 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,827 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,827 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,828 DEBUG [org.apereo.cas.adaptors.gauth.GoogleAuthenticatorMultifactorAuthenticationProvider] - <Multifactor failure mode for ^(https|imaps)://.* is defined as CLOSED>
2017-04-03 13:18:05,829 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,829 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2017-04-03 13:18:05,830 DEBUG [org.apereo.cas.adaptors.yubikey.YubiKeyMultifactorAuthenticationProvider] - <Provided event id mfa-yubikey is not applicable to this provider identified by {}>
2017-04-03 13:18:05,832 DEBUG [org.apereo.cas.web.support.DefaultArgumentExtractor] - <Created https://sso.example.com/cas/status/dashboard based on org.apereo.cas.authentication.principal.WebApplicationServiceFactory@489c4525>
2017-04-03 13:18:05,832 DEBUG [org.apereo.cas.web.support.DefaultArgumentExtractor] - <Extractor generated service type org.apereo.cas.authentication.principal.SimpleWebApplicationServiceImpl for: https://sso.example.com/cas/status/dashboard>
Hibernate: select googleauth0_.id as id1_0_, googleauth0_.secretKey as secretKe2_0_, googleauth0_.username as username3_0_, googleauth0_.validationCode as validati4_0_ from GoogleAuthenticatorRegistrationRecord googleauth0_ where googleauth0_.username=?