Project

General

Profile

1
##
2
## Velocity Template for logout flow's concluding view-state (no propagation)
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
## logoutContext - context with SPSession details for logout operation
10
## multiRPContext - context with RelyingPartyContexts and possibly SP UI information from the metadata
11
## encoder - HTMLEncoder class
12
## request - HttpServletRequest
13
## response - HttpServletResponse
14
## environment - Spring Environment object for property resolution
15
## custom - arbitrary object injected by deployer
16
##
17
<!DOCTYPE html>
18
<html>
19
    <head>
20
        <meta charset="utf-8">
21
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
22
        <title>#springMessageText("idp.title", "Web Login Service")</title>
23
        <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
24
    </head>
25

    
26
    <body>
27
    <div class="wrapper">
28
      <div class="container">
29
        <header>
30
          <img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
31
        </header>
32

    
33
        <div class="content">
34
          <div class="column one">
35
            <p>#springMessageText("idp.logout.local", "You elected not to log out of all the applications accessed during your session.")</p>
36
          </div>
37
          <div class="column two">
38
            <ul class="list list-help">
39
              <li class="list-help-item"><a href="#springMessageText("idp.url.password.reset", "#")"><span class="item-marker">&rsaquo;</span> #springMessageText("idp.login.forgotPassword", "Forgot your password?")</a></li>
40
              <li class="list-help-item"><a href="#springMessageText("idp.url.helpdesk", "#")"><span class="item-marker">&rsaquo;</span> #springMessageText("idp.login.needHelp", "Need Help?")</a></li>
41
            </ul>
42
          </div>
43
        </div>
44
      </div>
45

    
46
      <!-- If SAML logout, complete the flow by adding a hidden iframe. -->
47
      #if ( $profileRequestContext.getProfileId().contains("saml2/logout") )
48
          <iframe style="display:none" src="$flowExecutionUrl&_eventId=proceed"></iframe>
49
      #end
50

    
51
      <footer>
52
        <div class="container container-footer">
53
          <p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p>
54
        </div>
55
      </footer>
56
    </div>
57
    
58
 	</body>
59
</html>
(7-7/13)