Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
shib-idp-conftree/views/spnego-unavailable.vm
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
49 lines (46 sloc)
1.99 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## 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> |