mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
b8733eab00
The change replaces the Vagrant box based fixture with a fixture based on docker compose and 2 docker images, one for an openldap server and one for a Shibboleth SAML Identity Provider. The configuration of both openldap and shibboleth is identical to the previous one, in order to minimize required changes in the tests
54 lines
2.4 KiB
Plaintext
54 lines
2.4 KiB
Plaintext
##
|
|
## Velocity Template for expiring password view
|
|
##
|
|
## Velocity context will contain the following properties
|
|
## flowExecutionUrl - the form action location
|
|
## flowRequestContext - the Spring Web Flow RequestContext
|
|
## flowExecutionKey - the SWF execution key (this is built into the flowExecutionUrl)
|
|
## profileRequestContext - root of context tree
|
|
## authenticationContext - context with authentication request information
|
|
## authenticationErrorContext - context with login error state
|
|
## authenticationWarningContext - context with login warning state
|
|
## ldapResponseContext - context with LDAP state (if using native LDAP)
|
|
## encoder - HTMLEncoder class
|
|
## request - HttpServletRequest
|
|
## response - HttpServletResponse
|
|
## environment - Spring Environment object for property resolution
|
|
## custom - arbitrary object injected by deployer
|
|
##
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
<title>#springMessageText("idp.title", "Web Login Service")</title>
|
|
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
|
|
<meta http-equiv="refresh" content="20;url=$flowExecutionUrl&_eventId_proceed=1">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="wrapper">
|
|
<div class="container">
|
|
<header>
|
|
<img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
|
|
<h3>#springMessageText("idp.login.expiringSoon", "Your password will be expiring soon!")</h3>
|
|
</header>
|
|
|
|
<div class="content">
|
|
<p>#springMessageText("idp.login.changePassword", "To create a new password now, go to")
|
|
<strong><a href="#" target="_blank">#</a></strong>.</p>
|
|
<p>#springMessageText("idp.login.proceedBegin", "Your login will proceed in 20 seconds or you may click")
|
|
<strong><a href="$flowExecutionUrl&_eventId_proceed=1">#springMessageText("idp.login.proceedHere", "here")</a></strong>
|
|
#springMessageText("idp.login.proceedEnd", "to continue").</p>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="container container-footer">
|
|
<p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |