Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
jvx:server:security:mfa [2022/11/18 13:13] admin |
jvx:server:security:mfa [2022/11/18 14:01] admin |
||
---|---|---|---|
Line 58: | Line 58: | ||
</file> | </file> | ||
- | The emails itself are configured as templates. The standard templates are located in package ''/com/sibvisions/rad/server/security/mfa/auth/''. If you create custom templates, define your own package via: | + | The email is configured as template. The standard templates are located in package ''/com/sibvisions/rad/server/security/mfa/auth/''. If you create custom templates, define your own package via ''searchpath'': |
<file xml> | <file xml> | ||
Line 68: | Line 68: | ||
The template mechanism loads different files. The first one is the translation file and the second one is the template html: | The template mechanism loads different files. The first one is the translation file and the second one is the template html: | ||
- | * translation_mfa_<language_code>.xml | + | * package/translation_mfa_<language_code>.xml |
- | * trasnlation_mfa.xml (fallback: if no language specific xml file was found) | + | * package/translation_mfa.xml (fallback: if no language specific xml file was found) |
- | * confirmationcode_<language_code>.html | + | * package/confirmationcode_<language_code>.html |
- | * confirmationcode.html (fallback: if no language specific html file was found) | + | * package/confirmationcode.html (fallback: if no language specific html file was found) |
- | The template should contain placeholders: [CONFIRMATION_CODE], [TIMEOUT] | + | The template should contain placeholders: [CONFIRMATION_CODE], [TIMEOUT].\\ |
This placehoders will be replaced with generated values. | This placehoders will be replaced with generated values. | ||
Line 81: | Line 81: | ||
Confirmation code: [CONFIRMATION_CODE] is valid for [TIMEOUT] seconds | Confirmation code: [CONFIRMATION_CODE] is valid for [TIMEOUT] seconds | ||
</file> | </file> | ||
+ | |||
+ | The UI will look like this screenshot: | ||
+ | |||
+ | {{:jvx:server:security:textinput.png?nolink&400|}} | ||
+ | |||
+ | The ''TextInputMFAuthenticator'' is one of three default authenticators. The other two are | ||
+ | |||
+ | * ''com.sibvisions.rad.server.security.mfa.auth.WaitMFAuthenticator'' | ||
+ | * ''com.sibvisions.rad.server.security.mfa.auth.AbstractURLMFAuthenticator'' | ||
+ | |||
+ | If you configure the ''WaitMFAuthenticator'', the UI will look like this screenshot: | ||
+ | |||
+ | {{:jvx:server:security:wait.png?nolink&400|}} |