1
|
##
|
2
|
## Velocity Template for logout flow's starting view-state
|
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 lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
19
|
<head>
|
20
|
<meta charset="utf-8">
|
21
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
22
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
23
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
24
|
<meta name="description" content="OpenAIRE SSO"/>
|
25
|
<link rel="icon" type="image/png" sizes="32x32" href="$request.getContextPath()/images/favicon/favicon-32x32.png">
|
26
|
<link rel="icon" type="image/png" sizes="96x96" href="$request.getContextPath()/images/favicon//favicon-96x96.png">
|
27
|
<link rel="icon" type="image/png" sizes="16x16" href="$request.getContextPath()/images/favicon/favicon-16x16.png">
|
28
|
<link href="$request.getContextPath()/images/favicon/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
|
29
|
#if ( $logoutContext and !$logoutContext.getSessionMap().isEmpty() )
|
30
|
<meta http-equiv="refresh" content="10;url=$flowExecutionUrl&_eventId=propagate">
|
31
|
#end
|
32
|
<title>#springMessageText("idp.title", "Web Login Service")</title>
|
33
|
## <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
|
34
|
|
35
|
<script src="$request.getContextPath()/js/jquery.js"></script>
|
36
|
<script src="$request.getContextPath()/js/uikit.js"></script>
|
37
|
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css">
|
38
|
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css">
|
39
|
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css">
|
40
|
#set ($referer = $request.getHeader("Referer"))
|
41
|
#if ($referer.contains("openaire.eu/"))
|
42
|
<meta http-equiv="refresh" content="0;URL='$referer'" />
|
43
|
#elseif ($referer.contains("madgik.di.uoa.gr/"))
|
44
|
<meta http-equiv="refresh" content="0;URL='$referer'" />
|
45
|
#elseif ($referer.contains("scoobydoo.di.uoa.gr"))
|
46
|
<meta http-equiv="refresh" content="0;URL='$referer'" />
|
47
|
#else
|
48
|
<meta http-equiv="refresh" content="0;URL='https://www.openaire.eu'" />
|
49
|
#end
|
50
|
</head>
|
51
|
|
52
|
<body class="" style="">
|
53
|
<div class="uk-offcanvas-content uk-height-viewport">
|
54
|
<!-- MENU STARTS HERE-->
|
55
|
<div class="tm-header tm-header-transparent" uk-header="">
|
56
|
<div class="uk-container uk-container-expand">
|
57
|
<nav class="uk-navbar" uk-navbar="{"align":"left"}">
|
58
|
<div class="uk-navbar-center">
|
59
|
<div class="uk-logo uk-navbar-item">
|
60
|
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png">
|
61
|
</div>
|
62
|
</div>
|
63
|
</nav>
|
64
|
</div>
|
65
|
</div>
|
66
|
<!-- MENU ENDS HERE -->
|
67
|
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical">
|
68
|
<div class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid" uk-grid="">
|
69
|
</div>
|
70
|
</div>
|
71
|
|
72
|
<div class=" uk-section uk-margin-large-top tm-middle custom-main-content" id="tm-main">
|
73
|
<div class="uk-container">
|
74
|
<p>You have been succesfully logged out</p>
|
75
|
<iframe style="display:none" src="$flowExecutionUrl&_eventId=proceed"></iframe>
|
76
|
<br>
|
77
|
</div>
|
78
|
</div>
|
79
|
<!-- FOOTER STARTS HERE-->
|
80
|
<div class="custom-footer">
|
81
|
<div class="uk-section-primary uk-section uk-section-small">
|
82
|
<div class="uk-container">
|
83
|
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
84
|
<div class="uk-width-1-1@m uk-first-column">
|
85
|
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center">
|
86
|
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png">
|
87
|
</div>
|
88
|
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead">
|
89
|
<div><a href="http://creativecommons.org/licenses/by/4.0/" rel="license" target="_blank"><img alt="Creative" src="$request.getContextPath()/images/80x15.png" style="height: auto; max-width: 100%; vertical-align: middle;"></a> UNLESS OTHERWISE INDICATED, ALL MATERIALS CREATED BY THE OPENAIRE CONSORTIUM ARE LICENSED UNDER A <a href="http://creativecommons.org/licenses/by/4.0/" rel="license">CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE</a>.</div>
|
90
|
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div>
|
91
|
</div>
|
92
|
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right">
|
93
|
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a>
|
94
|
</div>
|
95
|
</div>
|
96
|
</div>
|
97
|
</div>
|
98
|
</div>
|
99
|
<!-- FOOTER ENDS HERE-->
|
100
|
</div>
|
101
|
</div>
|
102
|
|
103
|
|
104
|
</body>
|
105
|
</html>
|