Project

General

Profile

1
##
2
## Velocity Template for expiring password view
3
##
4
## Velocity context will contain the following properties
5
## flowExecutionUrl - the form action location
6
## flowRequestContext - the Spring Web Flow RequestContext
7
## flowExecutionKey - the SWF execution key (this is built into the flowExecutionUrl)
8
## profileRequestContext - root of context tree
9
## authenticationContext - context with authentication request information
10
## authenticationErrorContext - context with login error state
11
## authenticationWarningContext - context with login warning state
12
## ldapResponseContext - context with LDAP state (if using native LDAP)
13
## encoder - HTMLEncoder class
14
## request - HttpServletRequest
15
## response - HttpServletResponse
16
## environment - Spring Environment object for property resolution
17
## custom - arbitrary object injected by deployer
18
##
19
<!DOCTYPE html>
20
<html>
21
    <head>
22
        <meta charset="utf-8">
23
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
24
        <title>#springMessageText("idp.title", "Web Login Service")</title>
25
        <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
26
        <meta http-equiv="refresh" content="20;url=$flowExecutionUrl&_eventId_proceed=1">
27
    </head>
28
      
29
    <body>
30
      <div class="wrapper">
31
        <div class="container">
32
            <header>
33
                <img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
34
                <h3>#springMessageText("idp.login.expiringSoon", "Your password will be expiring soon!")</h3>
35
            </header>
36
        
37
            <div class="content">
38
                <p>#springMessageText("idp.login.changePassword", "To create a new password now, go to")
39
                <strong><a href="#" target="_blank">#</a></strong>.</p>
40
                <p>#springMessageText("idp.login.proceedBegin", "Your login will proceed in 20 seconds or you may click")
41
                <strong><a href="$flowExecutionUrl&_eventId_proceed=1">#springMessageText("idp.login.proceedHere", "here")</a></strong>
42
                #springMessageText("idp.login.proceedEnd", "to continue").</p>
43
            </div>
44
        </div>
45

    
46
        <footer>
47
          <div class="container container-footer">
48
            <p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p>
49
          </div>
50
        </footer>
51
          
52
      </div>
53
    </body>
54
</html>
(3-3/4)