...
General Configuration
Localtabgroup |
---|
Localtab |
---|
| Use authn/mfa-authn-config.xml to configure this flow. |
Localtab |
---|
| Most of the flow configuration is in authn/mfa-authn-config.xml but some generic settings applicable to all login flows are in authn/authn.properties. |
|
...
You can split these concerns any way you prefer, but if you can include at least some of your logic in the reuse condition rather than the MFA logic itself, that can improve efficiency. But in the simplest case, if you want the MFA rules to run on every request no matter what:
Localtabgroup |
---|
Localtab |
---|
| Code Block |
---|
language | xml |
---|
title | authn/general-authn.xml |
---|
| ...
<bean id="authn/MFA" parent="shibboleth.AuthenticationFlow"
p:passiveAuthenticationSupported="true"
p:forcedAuthenticationSupported="true"
p:reuseCondition="false">
...etc...
</bean>
... |
|
Localtab |
---|
| Code Block |
---|
title | authn/authn.properties |
---|
| ...
idp.authn.MFA.reuseCondition = shibboleth.Conditions.FALSE
... |
|
|
...
Reference
Localtabgroup |
---|
Localtab |
---|
active | true |
---|
title | Beans (V4.0) |
---|
| The beans defined in authn/mfa-authn-config.xml follow: |
Localtab |
---|
active | true |
---|
title | Beans (V4.1+) |
---|
| The beans defined in authn/mfa-authn-config.xml follow: |
Localtab |
---|
| Properties specific to this flow defined in authn/authn.properties are: Name | Default | Description |
---|
idp.authn.MFA.validateLoginTransitions | true | Whether login flows should only be run with regard for forceAuthn/isPassive/nonBrowser (and similar) conditions |
As a generic flow, the supportedPrincipals property defaults to the following XML: Code Block |
---|
| <list>
<bean parent="shibboleth.SAML2AuthnContextClassRef"
c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol" />
<bean parent="shibboleth.SAML2AuthnContextClassRef"
c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" />
<bean parent="shibboleth.SAML2AuthnContextClassRef"
c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:Password" />
<bean parent="shibboleth.SAML1AuthenticationMethod"
c:method="urn:oasis:names:tc:SAML:1.0:am:password" />
</list> |
In property form, this is expressed as: Code Block |
---|
idp.authn.MFA.supportedPrincipals = \
saml2/urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol, \
saml2/urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport, \
saml2/urn:oasis:names:tc:SAML:2.0:ac:classes:Password, \
saml1/urn:oasis:names:tc:SAML:1.0:am:password |
This default is not intended to be applicable to most systems, but matches the behavior of the flow's default/example configuration which accounts for both the IPAddress and Password flows being combined. |
Localtab |
---|
id | FDXML |
---|
title | Flow Descriptor XML (V4.1+) |
---|
| |
|
...