Project

General

Profile

1
##
2
## Velocity Template for SPNEGO unauthorized page
3
##
4
## This is not a Spring Webflow view, but a special view internal to the
5
## SPNEGO login flow, so it doesn't contain all of the usual SWF variables.
6
##
7
## Velocity context will contain the following properties
8
## encoder - HTMLEncoder class
9
## request - HttpServletRequest
10
## response - HttpServletResponse
11
## profileRequestContext - root of context tree
12
## errorUrl - URL to call to indicate error and return back to the login flow
13
##
14
#set ($eventKey = $springMacroRequestContext.getMessage("SPNEGOUnavailable", "spnego-unavailable"))
15
<!DOCTYPE html>
16
<html>
17
  <head>
18
    <meta charset="utf-8">
19
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
20
    <title>#springMessageText("idp.title", "Web Login Sevice") - #springMessageText("${eventKey}.title", "Error")</title>
21
    <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
22
  </head>
23
  
24
  <body onload="window.location = '$errorUrl'">
25
    <div class="wrapper">
26
      <div class="container">
27
        <header>
28
          <img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">
29
          <h3>#springMessageText("idp.title", "Web Login Sevice") - #springMessage("idp.title.suffix", "Error")</h3>
30
        </header>
31
                
32
        <div class="content">
33
          #springMessageText("${eventKey}.message", "Your web browser doesn't support authentication with your desktop login credentials.")
34
          <ul class="list list-help">
35
            <li class="list-help-item">
36
              <a href="$errorUrl"><span class="item-marker">&rsaquo;</span> #springMessageText("spnego-unavailable.return", "Cancel the attempt.")</a>
37
            </li>
38
          </ul>
39
        </div>
40
      </div>
41

    
42
      <footer>
43
        <div class="container container-footer">
44
          <p class="footer-text">#springMessageText("idp.footer", "Insert your footer text here.")</p>
45
        </div>
46
      </footer>
47
    </div>
48
  </body>
49
</html>
(10-10/12)