## ## Velocity Template for SPNEGO unauthorized page ## ## This is not a Spring Webflow view, but a special view internal to the ## SPNEGO login flow, so it doesn't contain all of the usual SWF variables. ## ## Velocity context will contain the following properties ## encoder - HTMLEncoder class ## request - HttpServletRequest ## response - HttpServletResponse ## profileRequestContext - root of context tree ## errorUrl - URL to call to indicate error and return back to the login flow ## #set ($eventKey = $springMacroRequestContext.getMessage("SPNEGOUnavailable", "spnego-unavailable")) <!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 Sevice") - #springMessageText("${eventKey}.title", "Error")</title> <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css"> </head> <body onload="window.location = '$errorUrl'"> <div class="wrapper"> <div class="container"> <header> <img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")"> <h3>#springMessageText("idp.title", "Web Login Sevice") - #springMessage("idp.title.suffix", "Error")</h3> </header> <div class="content"> #springMessageText("${eventKey}.message", "Your web browser doesn't support authentication with your desktop login credentials.") <ul class="list list-help"> <li class="list-help-item"> <a href="$errorUrl"><span class="item-marker">›</span> #springMessageText("spnego-unavailable.return", "Cancel the attempt.")</a> </li> </ul> </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>