Revision 51769
Added by Tsampikos Livisianos over 6 years ago
modules/uoa-shibboleth/edit-webapp/WEB-INF/web.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> |
|
4 |
|
|
5 |
<display-name>Shibboleth Identity Provider</display-name> |
|
6 |
|
|
7 |
<!-- Spring application context files. Files are loaded in the order they appear with subsequent files overwriting |
|
8 |
same named beans in previous files. --> |
|
9 |
<context-param> |
|
10 |
<param-name>contextConfigLocation</param-name> |
|
11 |
<param-value>classpath*:/META-INF/net.shibboleth.idp/preconfig.xml,${idp.home}/system/conf/global-system.xml,classpath*:/META-INF/net.shibboleth.idp/config.xml,classpath*:/META-INF/net.shibboleth.idp/postconfig.xml</param-value> |
|
12 |
</context-param> |
|
13 |
|
|
14 |
<context-param> |
|
15 |
<param-name>contextClass</param-name> |
|
16 |
<param-value>net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext</param-value> |
|
17 |
</context-param> |
|
18 |
|
|
19 |
<context-param> |
|
20 |
<param-name>contextInitializerClasses</param-name> |
|
21 |
<param-value>net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer</param-value> |
|
22 |
</context-param> |
|
23 |
|
|
24 |
<!-- Spring listener used to load up the configuration --> |
|
25 |
<listener> |
|
26 |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
|
27 |
</listener> |
|
28 |
|
|
29 |
<!-- Filter for CORS --> |
|
30 |
<filter> |
|
31 |
<filter-name>CorsFilter</filter-name> |
|
32 |
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class> |
|
33 |
<init-param> |
|
34 |
<param-name>cors.allowed.origins</param-name> |
|
35 |
<param-value>*</param-value> |
|
36 |
</init-param> |
|
37 |
<init-param> |
|
38 |
<param-name>cors.allowed.methods</param-name> |
|
39 |
<param-value>GET,POST,HEAD,OPTIONS,DELETE</param-value> |
|
40 |
</init-param> |
|
41 |
<init-param> |
|
42 |
<param-name>cors.exposed.headers</param-name> |
|
43 |
<param-value>Access-Control-Allow-Origin,Access-Control-Allow-Credentials,Access-Control-Allow-Methods</param-value> |
|
44 |
</init-param> |
|
45 |
<init-param> |
|
46 |
<param-name>cors.support.credentials</param-name> |
|
47 |
<param-value>true</param-value> |
|
48 |
</init-param> |
|
49 |
<init-param> |
|
50 |
<param-name>cors.allowed.headers</param-name> |
|
51 |
<param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,X-XSRF-TOKEN,withcredentials</param-value> |
|
52 |
</init-param> |
|
53 |
</filter> |
|
54 |
<filter-mapping> |
|
55 |
<filter-name>CorsFilter</filter-name> |
|
56 |
<url-pattern>/*</url-pattern> |
|
57 |
</filter-mapping> |
|
58 |
|
|
59 |
<!-- CORS FILTER --> |
|
60 |
|
|
61 |
<!-- Filters and filter mappings --> |
|
62 |
<!-- Try and force I18N, probably won't help much. --> |
|
63 |
<filter> |
|
64 |
<filter-name>CharacterEncodingFilter</filter-name> |
|
65 |
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> |
|
66 |
<init-param> |
|
67 |
<param-name>encoding</param-name> |
|
68 |
<param-value>UTF-8</param-value> |
|
69 |
</init-param> |
|
70 |
<init-param> |
|
71 |
<param-name>forceEncoding</param-name> |
|
72 |
<param-value>true</param-value> |
|
73 |
</init-param> |
|
74 |
</filter> |
|
75 |
<!-- Lets us lump repeated Set-Cookie headers into one, something containers rarely support. --> |
|
76 |
<filter> |
|
77 |
<filter-name>CookieBufferingFilter</filter-name> |
|
78 |
<filter-class>net.shibboleth.utilities.java.support.net.CookieBufferingFilter</filter-class> |
|
79 |
</filter> |
|
80 |
<!-- Automates TLS-based propagation of HttpServletRequest/Response into beans. --> |
|
81 |
<filter> |
|
82 |
<filter-name>RequestResponseContextFilter</filter-name> |
|
83 |
<filter-class>net.shibboleth.utilities.java.support.net.RequestResponseContextFilter</filter-class> |
|
84 |
</filter> |
|
85 |
<!-- Manages logging MDC. --> |
|
86 |
<filter> |
|
87 |
<filter-name>SLF4JMDCServletFilter</filter-name> |
|
88 |
<filter-class>net.shibboleth.idp.log.SLF4JMDCServletFilter</filter-class> |
|
89 |
</filter> |
|
90 |
<filter-mapping> |
|
91 |
<filter-name>CookieBufferingFilter</filter-name> |
|
92 |
<url-pattern>/profile/Logout</url-pattern> |
|
93 |
<url-pattern>/profile/Shibboleth/SSO</url-pattern> |
|
94 |
<url-pattern>/profile/SAML2/Unsolicited/SSO</url-pattern> |
|
95 |
<url-pattern>/profile/SAML2/Redirect/SSO</url-pattern> |
|
96 |
<url-pattern>/profile/SAML2/POST/SSO</url-pattern> |
|
97 |
<url-pattern>/profile/SAML2/POST-SimpleSign/SSO</url-pattern> |
|
98 |
<url-pattern>/profile/SAML2/Redirect/SLO</url-pattern> |
|
99 |
<url-pattern>/profile/SAML2/POST/SLO</url-pattern> |
|
100 |
<url-pattern>/profile/SAML2/POST-SimpleSign/SLO</url-pattern> |
|
101 |
<url-pattern>/profile/cas/login</url-pattern> |
|
102 |
</filter-mapping> |
|
103 |
<filter-mapping> |
|
104 |
<filter-name>CharacterEncodingFilter</filter-name> |
|
105 |
<url-pattern>/*</url-pattern> |
|
106 |
</filter-mapping> |
|
107 |
<filter-mapping> |
|
108 |
<filter-name>RequestResponseContextFilter</filter-name> |
|
109 |
<url-pattern>/*</url-pattern> |
|
110 |
</filter-mapping> |
|
111 |
<filter-mapping> |
|
112 |
<filter-name>SLF4JMDCServletFilter</filter-name> |
|
113 |
<url-pattern>/*</url-pattern> |
|
114 |
</filter-mapping> |
|
115 |
|
|
116 |
<!-- Servlets and servlet mappings --> |
|
117 |
<servlet> |
|
118 |
<servlet-name>idp</servlet-name> |
|
119 |
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
|
120 |
<init-param> |
|
121 |
<param-name>contextConfigLocation</param-name> |
|
122 |
<param-value>${idp.home}/system/conf/mvc-beans.xml, ${idp.home}/system/conf/webflow-config.xml</param-value> |
|
123 |
</init-param> |
|
124 |
<init-param> |
|
125 |
<param-name>contextClass</param-name> |
|
126 |
<param-value>net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext</param-value> |
|
127 |
</init-param> |
|
128 |
<load-on-startup>1</load-on-startup> |
|
129 |
</servlet> |
|
130 |
<servlet-mapping> |
|
131 |
<servlet-name>idp</servlet-name> |
|
132 |
<url-pattern>/status</url-pattern> |
|
133 |
<url-pattern>/profile/*</url-pattern> |
|
134 |
</servlet-mapping> |
|
135 |
|
|
136 |
<!-- Servlet protected by container used for RemoteUser authentication --> |
|
137 |
<servlet> |
|
138 |
<servlet-name>RemoteUserAuthHandler</servlet-name> |
|
139 |
<servlet-class>net.shibboleth.idp.authn.impl.RemoteUserAuthServlet</servlet-class> |
|
140 |
<load-on-startup>2</load-on-startup> |
|
141 |
</servlet> |
|
142 |
<servlet-mapping> |
|
143 |
<servlet-name>RemoteUserAuthHandler</servlet-name> |
|
144 |
<url-pattern>/Authn/RemoteUser</url-pattern> |
|
145 |
</servlet-mapping> |
|
146 |
|
|
147 |
<!-- Servlet protected by container used for X.509 authentication --> |
|
148 |
<servlet> |
|
149 |
<servlet-name>X509AuthHandler</servlet-name> |
|
150 |
<servlet-class>net.shibboleth.idp.authn.impl.X509AuthServlet</servlet-class> |
|
151 |
<load-on-startup>3</load-on-startup> |
|
152 |
</servlet> |
|
153 |
<servlet-mapping> |
|
154 |
<servlet-name>X509AuthHandler</servlet-name> |
|
155 |
<url-pattern>/Authn/X509</url-pattern> |
|
156 |
</servlet-mapping> |
|
157 |
|
|
158 |
<!-- Send request for the EntityID to the SAML metadata echoing JSP. --> |
|
159 |
<servlet> |
|
160 |
<servlet-name>shibboleth_jsp</servlet-name> |
|
161 |
<jsp-file>/WEB-INF/jsp/metadata.jsp</jsp-file> |
|
162 |
</servlet> |
|
163 |
<servlet-mapping> |
|
164 |
<servlet-name>shibboleth_jsp</servlet-name> |
|
165 |
<url-pattern>/shibboleth</url-pattern> |
|
166 |
</servlet-mapping> |
|
167 |
|
|
168 |
<!-- Send servlet errors through the IdP's MVC error handling. --> |
|
169 |
<error-page> |
|
170 |
<exception-type>net.shibboleth.idp.authn.ExternalAuthenticationException</exception-type> |
|
171 |
<location>/profile/RaiseError</location> |
|
172 |
</error-page> |
|
173 |
|
|
174 |
<!-- Block commonly flagged methods by using an empty auth-constraint. --> |
|
175 |
<security-constraint> |
|
176 |
<web-resource-collection> |
|
177 |
<web-resource-name>Non-API Content</web-resource-name> |
|
178 |
<url-pattern>/*</url-pattern> |
|
179 |
<http-method>PUT</http-method> |
|
180 |
<http-method>PATCH</http-method> |
|
181 |
<http-method>DELETE</http-method> |
|
182 |
<http-method>OPTIONS</http-method> |
|
183 |
<http-method>TRACE</http-method> |
|
184 |
</web-resource-collection> |
|
185 |
<auth-constraint/> |
|
186 |
</security-constraint> |
|
187 |
|
|
188 |
<!-- Allow any HTTP methods to the API flows. --> |
|
189 |
<security-constraint> |
|
190 |
<web-resource-collection> |
|
191 |
<web-resource-name>Administrative APIs</web-resource-name> |
|
192 |
<url-pattern>/profile/admin/*</url-pattern> |
|
193 |
</web-resource-collection> |
|
194 |
<!-- no auth-constraint tag here --> |
|
195 |
</security-constraint> |
|
196 |
|
|
197 |
<!-- |
|
198 |
Uncomment to use container managed authentication. The new servlet spec (3.1) |
|
199 |
supports "**" as a wildcard syntax to avoid role usage, which is normally desirable. |
|
200 |
Older containers usually support "*" when proprietary options are used (e.g., Jetty |
|
201 |
requires setting the Strict property on the SecurityManager.) |
|
202 |
--> |
|
203 |
<!-- |
|
204 |
<security-constraint> |
|
205 |
<display-name>Web Login Service</display-name> |
|
206 |
<web-resource-collection> |
|
207 |
<web-resource-name>user authentication</web-resource-name> |
|
208 |
<url-pattern>/Authn/RemoteUser</url-pattern> |
|
209 |
<url-pattern>/profile/SAML2/SOAP/ECP</url-pattern> |
|
210 |
<http-method>POST</http-method> |
|
211 |
</web-resource-collection> |
|
212 |
<auth-constraint> |
|
213 |
<role-name>**</role-name> |
|
214 |
</auth-constraint> |
|
215 |
<user-data-constraint> |
|
216 |
<transport-guarantee>CONFIDENTIAL</transport-guarantee> |
|
217 |
</user-data-constraint> |
|
218 |
</security-constraint> |
|
219 |
--> |
|
220 |
|
|
221 |
<!-- Uncomment if you want BASIC auth managed by the container. --> |
|
222 |
<!-- |
|
223 |
<login-config> |
|
224 |
<auth-method>BASIC</auth-method> |
|
225 |
<realm-name>Web Login Service</realm-name> |
|
226 |
</login-config> |
|
227 |
--> |
|
228 |
|
|
229 |
<!-- |
|
230 |
Uncomment if you want form-based auth managed by the container. |
|
231 |
NOTE that the default form-login UI in the IdP is not compatible |
|
232 |
with this option, and you will need to supply your own JSP form |
|
233 |
and error page. This is not a recommended approach and is severely |
|
234 |
limited in functionality as compared to using the IdP's own UI. |
|
235 |
--> |
|
236 |
<!-- |
|
237 |
<login-config> |
|
238 |
<auth-method>FORM</auth-method> |
|
239 |
<realm-name>Web Login Service</realm-name> |
|
240 |
<form-login-config> |
|
241 |
<form-login-page>/login.jsp</form-login-page> |
|
242 |
<form-error-page>/login-error.jsp</form-error-page> |
|
243 |
</form-login-config> |
|
244 |
</login-config> |
|
245 |
--> |
|
246 |
</web-app> |
modules/uoa-shibboleth/messages/messages.properties | ||
---|---|---|
3 | 3 |
idp.title = OpenAIRE Login Service |
4 | 4 |
idp.attribute-release.title = OpenAIRE Information Release |
5 | 5 |
idp.logo = /images/Logo_Horizontal.png |
6 |
idp.url.password.reset = http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/forgotPassword.jsp
|
|
6 |
idp.url.password.reset = http://beta.services.openaire.eu/uoa-user-management/forgotPassword.jsp
|
|
7 | 7 |
idp.url.helpdesk = https://www.openaire.eu/support/helpdesk |
8 | 8 |
|
9 |
openaire.username.reset = http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/remindUsername.jsp
|
|
9 |
openaire.username.reset = http://beta.services.openaire.eu/uoa-user-management/remindUsername.jsp
|
|
10 | 10 |
openaire.username.forgot = Forgot your username? |
modules/uoa-shibboleth/views/login.vm | ||
---|---|---|
28 | 28 |
## |
29 | 29 |
<!DOCTYPE html> |
30 | 30 |
<html lang="en-gb" dir="ltr" vocab="http://schema.org/"> |
31 |
<head> |
|
32 |
<meta charset="utf-8"> |
|
33 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
34 |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
35 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
36 |
<meta name="description" content="OpenAIRE SSO"/> |
|
37 |
<link href="$request.getContextPath()/images/favicon.ico" /> |
|
38 |
<title>#springMessageText("idp.title", "Web Login Service")</title> |
|
31 |
<head> |
|
32 |
<meta charset="utf-8"> |
|
33 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
34 |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
35 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
36 |
<meta name="description" content="OpenAIRE SSO"/> |
|
37 |
<link href="$request.getContextPath()/images/favicon.ico" /> |
|
38 |
<title>#springMessageText("idp.title", "Web Login Service")</title> |
|
39 |
## <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css"> |
|
39 | 40 |
|
40 |
<script src="$request.getContextPath()/js/jquery.js"></script>
|
|
41 |
<script src="$request.getContextPath()/js/uikit.js"></script>
|
|
42 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css"> |
|
43 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css"> |
|
44 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css"> |
|
45 |
</head> |
|
41 |
<script src="$request.getContextPath()/js/jquery.js"></script>
|
|
42 |
<script src="$request.getContextPath()/js/uikit.js"></script>
|
|
43 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css">
|
|
44 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css">
|
|
45 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css">
|
|
46 |
</head>
|
|
46 | 47 |
|
47 |
<body class="" style=""> |
|
48 |
<div class="uk-offcanvas-content uk-height-viewport"> |
|
49 |
<!-- MENU STARTS HERE--> |
|
50 |
<div class="tm-header tm-header-transparent" uk-header=""> |
|
51 |
<div class="uk-container uk-container-expand"> |
|
52 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
|
53 |
<div class="uk-navbar-center"> |
|
54 |
<div class="uk-logo uk-navbar-item"> |
|
55 |
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png"> |
|
48 |
<body class="" style=""> |
|
49 |
<div class="uk-offcanvas-content uk-height-viewport"> |
|
50 |
<!-- MENU STARTS HERE--> |
|
51 |
<div class="tm-header tm-header-transparent" uk-header=""> |
|
52 |
<div class="uk-container uk-container-expand"> |
|
53 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
|
54 |
<div class="uk-navbar-center"> |
|
55 |
<div class="uk-logo uk-navbar-item"> |
|
56 |
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png"> |
|
57 |
</div> |
|
58 |
</div> |
|
59 |
</nav> |
|
60 |
</div> |
|
61 |
</div> |
|
62 |
<!-- MENU ENDS HERE --> |
|
63 |
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical"> |
|
64 |
<div class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid" uk-grid=""> |
|
56 | 65 |
</div> |
57 |
</div> |
|
58 |
</nav> |
|
59 |
</div> |
|
60 |
</div> |
|
61 |
<!-- MENU ENDS HERE --> |
|
62 |
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical"> |
|
63 |
<div class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid" uk-grid=""> |
|
64 |
</div> |
|
65 |
</div> |
|
66 |
</div> |
|
66 | 67 |
|
67 |
<div class=" uk-section uk-margin-large-top tm-middle custom-main-content" id="tm-main"> |
|
68 |
<div class="uk-container"> |
|
69 |
<div uk-grid="" class="uk-grid uk-grid-stack"> |
|
70 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-2@l uk-align-center"> |
|
68 |
<div class=" uk-section uk-margin-large-top tm-middle custom-main-content" id="tm-main">
|
|
69 |
<div class="uk-container">
|
|
70 |
<div uk-grid="" class="uk-grid uk-grid-stack">
|
|
71 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-2@l uk-align-center">
|
|
71 | 72 |
|
72 |
<div class="uk-child-width-1-2@m uk-grid-small uk-grid-match" uk-grid> |
|
73 |
<div> |
|
74 |
#parse("login-error.vm")
|
|
73 |
<div class="uk-child-width-1-2@m uk-grid-small uk-grid-match" uk-grid>
|
|
74 |
<div>
|
|
75 |
#parse("login-error.vm") |
|
75 | 76 |
|
76 |
<form action="$flowExecutionUrl" method="post">
|
|
77 |
<form action="$flowExecutionUrl" method="post"> |
|
77 | 78 |
|
78 |
#set ($serviceName = $rpUIContext.serviceName) |
|
79 |
#if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName)) |
|
80 |
<p> |
|
81 |
#springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName) |
|
82 |
</p> |
|
83 |
#end |
|
79 |
#set ($serviceName = $rpUIContext.serviceName) |
|
80 |
#if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName)) |
|
81 |
<p> |
|
82 |
#springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName) |
|
83 |
</p> |
|
84 |
#end |
|
85 |
|
|
86 |
#if ($passwordEnabled) |
|
87 |
<div class="form-element-wrapper"> |
|
88 |
<label for="username">#springMessageText("idp.login.username", "Username")</label> |
|
89 |
<input class="form-element form-field" id="username" name="j_username" type="text" |
|
90 |
value="#if($username)$encoder.encodeForHTML($username)#end"> |
|
91 |
</div> |
|
84 | 92 |
|
85 |
#if ($passwordEnabled) |
|
86 |
<div class="form-element-wrapper"> |
|
87 |
<label for="username">#springMessageText("idp.login.username", "Username")</label> |
|
88 |
<input class="form-element form-field" id="username" name="j_username" type="text" |
|
89 |
value="#if($username)$encoder.encodeForHTML($username)#end"> |
|
90 |
</div> |
|
93 |
<div class="form-element-wrapper"> |
|
94 |
<label for="password">#springMessageText("idp.login.password", "Password")</label> |
|
95 |
<input class="form-element form-field" id="password" name="j_password" type="password" value=""> |
|
96 |
</div> |
|
91 | 97 |
|
92 |
<div class="form-element-wrapper"> |
|
93 |
<label for="password">#springMessageText("idp.login.password", "Password")</label> |
|
94 |
<input class="form-element form-field" id="password" name="j_password" type="password" value=""> |
|
95 |
</div> |
|
98 |
<p> |
|
99 |
<input type="checkbox" name="donotcache" value="1" id="donotcache"> |
|
100 |
<label for="donotcache">#springMessageText("idp.login.donotcache", "Don't Remember Login")</label> |
|
101 |
</p> |
|
102 |
#end |
|
96 | 103 |
|
97 |
<p> |
|
98 |
<input type="checkbox" name="donotcache" value="1" id="donotcache"> |
|
99 |
<label for="donotcache">#springMessageText("idp.login.donotcache", "Don't Remember Login")</label> |
|
100 |
</p> |
|
101 |
#end |
|
104 |
<p> |
|
105 |
<input id="_shib_idp_revokeConsent" type="checkbox" name="_shib_idp_revokeConsent" value="true"> |
|
106 |
<label for="_shib_idp_revokeConsent">#springMessageText("idp.attribute-release.revoke", "Clear prior granting of permission for release of your information to this service.")</label> |
|
107 |
</p> |
|
102 | 108 |
|
103 |
<p> |
|
104 |
<input id="_shib_idp_revokeConsent" type="checkbox" name="_shib_idp_revokeConsent" value="true"> |
|
105 |
<label for="_shib_idp_revokeConsent">#springMessageText("idp.attribute-release.revoke", "Clear prior granting of permission for release of your information to this service.")</label> |
|
106 |
</p> |
|
107 |
|
|
108 |
#if ($passwordEnabled) |
|
109 |
<div class="form-element-wrapper"> |
|
110 |
<button class="uk-button uk-button-primary" type="submit" name="_eventId_proceed" |
|
109 |
#if ($passwordEnabled) |
|
110 |
<div class="form-element-wrapper"> |
|
111 |
<button class="uk-button uk-button-primary" type="submit" name="_eventId_proceed" |
|
111 | 112 |
onClick="this.childNodes[0].nodeValue='#springMessageText("idp.login.pleasewait", "Logging in, please wait...")'" |
112 | 113 |
>#springMessageText("idp.login.login", "Login")</button> |
113 |
</div>
|
|
114 |
#end
|
|
114 |
</div> |
|
115 |
#end |
|
115 | 116 |
|
116 |
#foreach ($extFlow in $extendedAuthenticationFlows)
|
|
117 |
#if ($authenticationContext.isAcceptable($extFlow) and $extFlow.apply(profileRequestContext))
|
|
118 |
<div class="form-element-wrapper">
|
|
119 |
<button class="form-element form-button" type="submit" name="_eventId_$extFlow.getId()">
|
|
120 |
#springMessageText("idp.login.$extFlow.getId().replace('authn/','')", $extFlow.getId().replace('authn/',''))
|
|
121 |
</button>
|
|
122 |
</div>
|
|
123 |
#end
|
|
124 |
#end
|
|
125 |
</form>
|
|
126 |
#*
|
|
127 |
//
|
|
128 |
// SP Description & Logo (optional)
|
|
129 |
// These idpui lines will display added information (if available
|
|
130 |
// in the metadata) about the Service Provider (SP) that requested
|
|
131 |
// authentication. These idpui lines are "active" in this example
|
|
132 |
// (not commented out) - this extra SP info will be displayed.
|
|
133 |
// Remove or comment out these lines to stop the display of the
|
|
134 |
// added SP information.
|
|
135 |
//
|
|
136 |
*#
|
|
137 |
#set ($logo = $rpUIContext.getLogo())
|
|
138 |
#if ($logo)
|
|
139 |
<p>
|
|
140 |
<img src= "$encoder.encodeForHTMLAttribute($logo)"
|
|
117 |
#foreach ($extFlow in $extendedAuthenticationFlows) |
|
118 |
#if ($authenticationContext.isAcceptable($extFlow) and $extFlow.apply(profileRequestContext)) |
|
119 |
<div class="form-element-wrapper"> |
|
120 |
<button class="form-element form-button" type="submit" name="_eventId_$extFlow.getId()"> |
|
121 |
#springMessageText("idp.login.$extFlow.getId().replace('authn/','')", $extFlow.getId().replace('authn/','')) |
|
122 |
</button> |
|
123 |
</div> |
|
124 |
#end |
|
125 |
#end |
|
126 |
</form> |
|
127 |
#*
|
|
128 |
// |
|
129 |
// SP Description & Logo (optional) |
|
130 |
// These idpui lines will display added information (if available |
|
131 |
// in the metadata) about the Service Provider (SP) that requested |
|
132 |
// authentication. These idpui lines are "active" in this example |
|
133 |
// (not commented out) - this extra SP info will be displayed. |
|
134 |
// Remove or comment out these lines to stop the display of the |
|
135 |
// added SP information. |
|
136 |
// |
|
137 |
*# |
|
138 |
#set ($logo = $rpUIContext.getLogo()) |
|
139 |
#if ($logo) |
|
140 |
<p> |
|
141 |
<img src= "$encoder.encodeForHTMLAttribute($logo)" |
|
141 | 142 |
alt="$encoder.encodeForHTMLAttribute($serviceName)"> |
142 |
</p>
|
|
143 |
#end
|
|
144 |
#set ($desc = $rpUIContext.getServiceDescription())
|
|
145 |
#if ($desc)
|
|
146 |
$encoder.encodeForHTML($desc)
|
|
147 |
#end
|
|
148 |
</div>
|
|
143 |
</p> |
|
144 |
#end |
|
145 |
#set ($desc = $rpUIContext.getServiceDescription()) |
|
146 |
#if ($desc) |
|
147 |
$encoder.encodeForHTML($desc) |
|
148 |
#end |
|
149 |
</div> |
|
149 | 150 |
|
150 |
|
|
151 |
<div> |
|
152 |
<ul class="list list-help"> |
|
153 |
#if ($passwordEnabled) |
|
154 |
<li class="list-help-item"><a href="#springMessageText("idp.url.password.reset", "#")"> #springMessageText("idp.login.forgotPassword", "Forgot your password?")</a></li> |
|
155 |
#end |
|
156 |
<li class="list-help-item"><a href="#springMessageText("openaire.username.reset", "#")"> #springMessageText("openaire.username.forgot", "Forgot your username?")</a></li> |
|
157 |
<li class="list-help-item"><a href="#springMessageText("idp.url.helpdesk", "#")"> #springMessageText("idp.login.needHelp", "Need Help?")</a></li> |
|
158 |
</ul> |
|
159 |
</div> |
|
160 |
</div> |
|
151 |
|
|
152 |
<div> |
|
153 |
<ul class="list list-help"> |
|
154 |
#if ($passwordEnabled) |
|
155 |
<li class="list-help-item"><a href="#springMessageText("idp.url.password.reset", "#")"> #springMessageText("idp.login.forgotPassword", "Forgot your password?")</a></li> |
|
156 |
#end |
|
157 |
<li class="list-help-item"><a href="#springMessageText("openaire.username.reset", "#")"> #springMessageText("openaire.username.forgot", "Forgot your username?")</a></li> |
|
158 |
<li class="list-help-item"><a href="#springMessageText("idp.url.helpdesk", "#")"> #springMessageText("idp.login.needHelp", "Need Help?")</a></li> |
|
159 |
</ul> |
|
160 |
</div> |
|
161 | 161 |
</div> |
162 | 162 |
</div> |
163 | 163 |
</div> |
164 |
</div> |
|
165 |
<!-- FOOTER STARTS HERE--> |
|
166 |
<div class="custom-footer"> |
|
167 |
<div class="uk-section-primary uk-section uk-section-small"> |
|
168 |
<div class="uk-container"> |
|
169 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
170 |
<div class="uk-width-1-1@m uk-first-column"> |
|
171 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center"> |
|
172 |
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png"> |
|
173 |
</div> |
|
174 |
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead"> |
|
175 |
<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> |
|
176 |
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div> |
|
177 |
</div> |
|
178 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right"> |
|
179 |
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a> |
|
180 |
</div> |
|
164 |
</div> |
|
165 |
</div> |
|
166 |
<!-- FOOTER STARTS HERE--> |
|
167 |
<div class="custom-footer"> |
|
168 |
<div class="uk-section-primary uk-section uk-section-small"> |
|
169 |
<div class="uk-container"> |
|
170 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
171 |
<div class="uk-width-1-1@m uk-first-column"> |
|
172 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center"> |
|
173 |
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png"> |
|
174 |
</div> |
|
175 |
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead"> |
|
176 |
<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> |
|
177 |
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div> |
|
178 |
</div> |
|
179 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right"> |
|
180 |
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a> |
|
181 |
</div> |
|
182 |
</div> |
|
183 |
</div> |
|
184 |
</div> |
|
181 | 185 |
</div> |
182 |
</div> |
|
183 |
</div> |
|
184 |
</div> |
|
185 |
</div> |
|
186 |
<!-- FOOTER ENDS HERE--> |
|
187 |
</div> |
|
186 |
<!-- FOOTER ENDS HERE--> |
|
187 |
</div> |
|
188 |
</div> |
|
188 | 189 |
|
189 |
|
|
190 |
</body> |
|
190 |
|
|
191 |
</body>
|
|
191 | 192 |
</html> |
modules/uoa-shibboleth/views/error.vm | ||
---|---|---|
42 | 42 |
## |
43 | 43 |
<!DOCTYPE html> |
44 | 44 |
<html lang="en-gb" dir="ltr" vocab="http://schema.org/"> |
45 |
<head> |
|
46 |
<meta charset="utf-8">
|
|
47 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
45 |
<head>
|
|
46 |
<meta charset="utf-8">
|
|
47 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
48 | 48 |
<meta name="description" content="OpenAIRE SSO"/> |
49 | 49 |
<link href="$request.getContextPath()/images/favicon.ico" /> |
50 |
<title>$title - $titleSuffix</title>
|
|
51 |
## <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
|
|
50 |
<title>$title - $titleSuffix</title>
|
|
51 |
## <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/main.css">
|
|
52 | 52 |
|
53 | 53 |
<script src="$request.getContextPath()/js/jquery.js"></script> |
54 | 54 |
<script src="$request.getContextPath()/js/uikit.js"></script> |
55 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css"> |
|
56 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css"> |
|
57 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css"> |
|
58 |
</head> |
|
55 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css"> |
|
56 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css"> |
|
57 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css"> |
|
58 |
</head> |
|
59 |
|
|
60 |
<body class="" style=""> |
|
61 |
<div class="uk-offcanvas-content uk-height-viewport"> |
|
62 |
<!-- MENU STARTS HERE--> |
|
63 |
<div class="tm-header tm-header-transparent" uk-header=""> |
|
64 |
<div class="uk-container uk-container-expand"> |
|
65 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
|
66 |
<div class="uk-navbar-center"> |
|
67 |
<div class="uk-logo uk-navbar-item"> |
|
68 |
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png"> |
|
69 |
</div> |
|
70 |
</div> |
|
71 |
</nav> |
|
72 |
</div> |
|
73 |
</div> |
|
74 |
<!-- MENU ENDS HERE --> |
|
75 |
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical"> |
|
76 |
<div class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid" uk-grid=""> |
|
77 |
</div> |
|
78 |
</div> |
|
59 | 79 |
|
60 |
<body class="" style=""> |
|
61 |
<div class="uk-offcanvas-content uk-height-viewport"> |
|
62 |
<!-- MENU STARTS HERE--> |
|
63 |
<div class="tm-header tm-header-transparent" uk-header=""> |
|
64 |
<div class="uk-container uk-container-expand"> |
|
65 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
|
66 |
<div class="uk-navbar-center"> |
|
67 |
<div class="uk-logo uk-navbar-item"> |
|
68 |
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png"> |
|
69 |
</div> |
|
70 |
</div> |
|
71 |
</nav> |
|
72 |
</div> |
|
73 |
</div> |
|
74 |
<!-- MENU ENDS HERE --> |
|
75 |
<div class="first_page_section uk-section-default uk-section uk-padding-remove-vertical"> |
|
76 |
<div class="first_page_banner_headline uk-grid-collapse uk-flex-middle uk-margin-remove-vertical uk-grid" uk-grid=""> |
|
77 |
</div> |
|
78 |
</div> |
|
79 | 80 |
|
81 |
<div class=" uk-section uk-margin-large-top tm-middle custom-main-content" id="tm-main"> |
|
82 |
<div class="uk-container"> |
|
83 |
<div uk-grid="" class="uk-grid uk-grid-stack"> |
|
84 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-align-center uk-first-column"> |
|
85 |
<div> |
|
86 |
<h3>$title - $titleSuffix</h3> |
|
87 |
|
|
88 |
#evaluate($message) |
|
80 | 89 |
|
81 |
<div class=" uk-section uk-margin-large-top tm-middle custom-main-content" id="tm-main"> |
|
82 |
<div class="uk-container"> |
|
83 |
<div uk-grid="" class="uk-grid uk-grid-stack"> |
|
84 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-align-center uk-first-column"> |
|
85 |
<div> |
|
86 |
<h3>$title - $titleSuffix</h3> |
|
87 |
|
|
88 |
#evaluate($message) |
|
89 |
|
|
90 |
</div> |
|
91 |
</div> |
|
92 |
</div> |
|
93 |
</div> |
|
94 |
</div> |
|
95 |
<!-- FOOTER STARTS HERE--> |
|
96 |
<div class="custom-footer"> |
|
97 |
<div class="uk-section-primary uk-section uk-section-small"> |
|
98 |
<div class="uk-container"> |
|
99 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
100 |
<div class="uk-width-1-1@m uk-first-column"> |
|
101 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center"> |
|
102 |
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png"> |
|
103 |
</div> |
|
104 |
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead"> |
|
105 |
<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> |
|
106 |
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div> |
|
107 |
</div> |
|
108 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right"> |
|
109 |
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a> |
|
110 |
</div> |
|
111 |
</div> |
|
112 |
</div> |
|
113 |
</div> |
|
114 |
</div> |
|
115 |
</div> |
|
90 |
</div> |
|
91 |
</div> |
|
92 |
</div> |
|
93 |
</div> |
|
94 |
</div> |
|
95 |
<!-- FOOTER STARTS HERE--> |
|
96 |
<div class="custom-footer"> |
|
97 |
<div class="uk-section-primary uk-section uk-section-small"> |
|
98 |
<div class="uk-container"> |
|
99 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
100 |
<div class="uk-width-1-1@m uk-first-column"> |
|
101 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center"> |
|
102 |
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png"> |
|
103 |
</div> |
|
104 |
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead"> |
|
105 |
<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> |
|
106 |
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div> |
|
107 |
</div> |
|
108 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right"> |
|
109 |
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a> |
|
110 |
</div> |
|
111 |
</div> |
|
112 |
</div> |
|
113 |
</div> |
|
114 |
</div> |
|
116 | 115 |
</div> |
117 |
</body> |
|
116 |
</div> |
|
117 |
</body> |
|
118 | 118 |
</html> |
modules/uoa-shibboleth/views/user-prefs.vm | ||
---|---|---|
36 | 36 |
$springMacroRequestContext.getMessage("idp.userprefs.no-js", "This feature requires Javascript.") |
37 | 37 |
</div> |
38 | 38 |
</noscript> |
39 |
|
|
39 |
|
|
40 | 40 |
<div id="content" class="content" style="display:none"> |
41 | 41 |
<div class="form-element-wrapper"> |
42 | 42 |
<h4>#springMessageText("idp.userprefs.options", "The following options are available:")</h4> |
... | ... | |
55 | 55 |
</div> |
56 | 56 |
</footer> |
57 | 57 |
</div> |
58 |
|
|
58 |
|
|
59 | 59 |
</body> |
60 | 60 |
</html> |
modules/uoa-shibboleth/views/intercept/attribute-release.vm | ||
---|---|---|
26 | 26 |
## |
27 | 27 |
<!DOCTYPE html> |
28 | 28 |
<html> |
29 |
<head> |
|
30 |
<meta charset="UTF-8"> |
|
31 |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
32 |
## <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/consent.css"> |
|
33 |
<title>#springMessageText("idp.attribute-release.title", "Information Release")</title> |
|
34 |
<script src="$request.getContextPath()/js/jquery.js"></script>
|
|
35 |
<script src="$request.getContextPath()/js/uikit.js"></script>
|
|
36 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css"> |
|
37 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css"> |
|
38 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css"> |
|
29 |
<head>
|
|
30 |
<meta charset="UTF-8">
|
|
31 |
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
32 |
## <link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/consent.css">
|
|
33 |
<title>#springMessageText("idp.attribute-release.title", "Information Release")</title>
|
|
34 |
<script src="$request.getContextPath()/js/jquery.js"></script>
|
|
35 |
<script src="$request.getContextPath()/js/uikit.js"></script>
|
|
36 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/theme.css">
|
|
37 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/custom.css">
|
|
38 |
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/css/aai-custom.css">
|
|
39 | 39 |
|
40 |
</head> |
|
41 |
<body class="" style=""> |
|
42 |
<div class="uk-offcanvas-content uk-height-viewport"> |
|
43 |
<!-- MENU STARTS HERE--> |
|
44 |
<div class="tm-header tm-header-transparent" uk-header=""> |
|
45 |
<div class="uk-container uk-container-expand"> |
|
46 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
|
47 |
<div class="uk-navbar-center"> |
|
48 |
<div class="uk-logo uk-navbar-item"> |
|
49 |
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png"> |
|
40 |
</head> |
|
41 |
<body class="" style=""> |
|
42 |
<div class="uk-offcanvas-content uk-height-viewport"> |
|
43 |
<!-- MENU STARTS HERE--> |
|
44 |
<div class="tm-header tm-header-transparent" uk-header=""> |
|
45 |
<div class="uk-container uk-container-expand"> |
|
46 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
|
47 |
<div class="uk-navbar-center"> |
|
48 |
<div class="uk-logo uk-navbar-item"> |
|
49 |
<img alt="OpenAIRE" class="uk-responsive-height" src="$request.getContextPath()/images/Logo_Horizontal.png"> |
|
50 |
</div> |
|
51 |
</div> |
|
52 |
</nav> |
|
50 | 53 |
</div> |
51 |
</div> |
|
52 |
</nav> |
|
53 |
</div> |
|
54 |
</div> |
|
55 |
<!-- MENU ENDS HERE--> |
|
56 |
<div class=" uk-section tm-middle custom-main-content" id="tm-main"> |
|
57 |
<div class="uk-container"> |
|
58 |
<div uk-grid="" class="uk-grid uk-grid-stack"> |
|
59 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-align-center uk-first-column"> |
|
60 |
<form action="$flowExecutionUrl" method="post" style="padding:10px" > |
|
61 |
<div class="uk-card uk-card-default uk-card-body"> |
|
54 |
</div> |
|
55 |
<!-- MENU ENDS HERE--> |
|
56 |
<div class=" uk-section tm-middle custom-main-content" id="tm-main"> |
|
57 |
<div class="uk-container"> |
|
58 |
<div uk-grid="" class="uk-grid uk-grid-stack"> |
|
59 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-align-center uk-first-column"> |
|
60 |
<form action="$flowExecutionUrl" method="post" style="padding:10px" > |
|
61 |
<div class="uk-card uk-card-default uk-card-body"> |
|
62 | 62 |
<header> |
63 |
<p>
|
|
64 |
#springMessageText("idp.attribute-release.serviceNameLabel", "You are about to access the service:")<br>
|
|
65 |
#if ($rpOrganizationLogo)
|
|
66 |
<img src="$encoder.encodeForHTMLAttribute($rpOrganizationLogo)" alt="logo for $encoder.encodeForHTMLAttribute($serviceName)" class="organization_logo">
|
|
67 |
#end
|
|
68 |
#if ($serviceName)
|
|
69 |
<span class="service_name">$serviceName</span> : |
|
70 |
#if ($rpOrganizationName) |
|
71 |
#springMessageText("idp.attribute-release.of", "of") <span class="organization_name">$encoder.encodeForHTML($rpOrganizationName)</span> |
|
72 |
#end |
|
73 |
#end
|
|
74 |
#if ($serviceDescription)
|
|
75 |
<span class="service_description">$encoder.encodeForHTML($serviceDescription)</span> |
|
76 |
#end
|
|
77 |
#if ($informationURL)
|
|
78 |
<div class="uk-text-right">
|
|
79 |
<span class="uk-text-small"><a href="$informationURL" target="_blank">#springMessageText("idp.attribute-release.informationURLLabel", "Additional information about the service")</a></span>
|
|
80 |
</div>
|
|
81 |
#end
|
|
82 |
</p>
|
|
63 |
<p>
|
|
64 |
#springMessageText("idp.attribute-release.serviceNameLabel", "You are about to access the service:")<br>
|
|
65 |
#if ($rpOrganizationLogo) |
|
66 |
<img src="$encoder.encodeForHTMLAttribute($rpOrganizationLogo)" alt="logo for $encoder.encodeForHTMLAttribute($serviceName)" class="organization_logo">
|
|
67 |
#end |
|
68 |
#if ($serviceName) |
|
69 |
<span class="service_name">$serviceName</span> :
|
|
70 |
#if ($rpOrganizationName)
|
|
71 |
#springMessageText("idp.attribute-release.of", "of") <span class="organization_name">$encoder.encodeForHTML($rpOrganizationName)</span>
|
|
72 |
#end
|
|
73 |
#end |
|
74 |
#if ($serviceDescription) |
|
75 |
<span class="service_description">$encoder.encodeForHTML($serviceDescription)</span>
|
|
76 |
#end |
|
77 |
#if ($informationURL) |
|
78 |
<div class="uk-text-right">
|
|
79 |
<span class="uk-text-small"><a href="$informationURL" target="_blank">#springMessageText("idp.attribute-release.informationURLLabel", "Additional information about the service")</a></span>
|
|
80 |
</div>
|
|
81 |
#end |
|
82 |
</p>
|
|
83 | 83 |
</header> |
84 |
<table class="uk-table uk-table-striped uk-table-hover uk-table-small"> |
|
85 |
<thead> |
|
86 |
<tr> |
|
87 |
<th colspan="3"> |
|
88 |
#springMessageText("idp.attribute-release.attributesHeader", "Information to be Provided to Service") |
|
89 |
</th> |
|
90 |
</tr> |
|
91 |
</thead> |
|
92 |
<tbody> |
|
93 |
#foreach ($attribute in $attributeReleaseContext.getConsentableAttributes().values()) |
|
94 |
<tr> |
|
95 |
<td>$encoder.encodeForHTML($attributeDisplayNameFunction.apply($attribute))</td> |
|
96 |
<td> |
|
97 |
#foreach ($value in $attribute.values) |
|
98 |
#if ($replaceDollarWithNewline) |
|
99 |
#set ($encodedValue = $encoder.encodeForHTML($value.getDisplayValue()).replaceAll($encoder.encodeForHTML("$"),"<br>")) |
|
100 |
#else |
|
101 |
#set ($encodedValue = $encoder.encodeForHTML($value.getDisplayValue())) |
|
102 |
#end |
|
103 |
#if ($attributeReleaseFlowDescriptor.perAttributeConsentEnabled) |
|
104 |
<label for="$attribute.id"><strong>$encodedValue</strong></label> |
|
105 |
#else |
|
106 |
<strong>$encodedValue</strong> |
|
107 |
#end |
|
108 |
<br> |
|
109 |
#end |
|
110 |
</td> |
|
111 |
<td style="vertical-align: top"> |
|
112 |
#if ($attributeReleaseFlowDescriptor.perAttributeConsentEnabled) |
|
113 |
#set ($inputType = "checkbox") |
|
114 |
#else |
|
115 |
#set ($inputType = "hidden") |
|
116 |
#end |
|
117 |
<input id="$attribute.id" type="$inputType" name="_shib_idp_consentIds" value="$encoder.encodeForHTML($attribute.id)" checked> |
|
118 |
</td> |
|
119 |
</tr> |
|
120 |
#end |
|
121 |
</tbody> |
|
122 |
</table> |
|
84 |
<table class="uk-table uk-table-striped uk-table-hover uk-table-small">
|
|
85 |
<thead>
|
|
86 |
<tr>
|
|
87 |
<th colspan="3">
|
|
88 |
#springMessageText("idp.attribute-release.attributesHeader", "Information to be Provided to Service")
|
|
89 |
</th>
|
|
90 |
</tr>
|
|
91 |
</thead>
|
|
92 |
<tbody>
|
|
93 |
#foreach ($attribute in $attributeReleaseContext.getConsentableAttributes().values())
|
|
94 |
<tr>
|
|
95 |
<td>$encoder.encodeForHTML($attributeDisplayNameFunction.apply($attribute))</td>
|
|
96 |
<td>
|
|
97 |
#foreach ($value in $attribute.values)
|
|
98 |
#if ($replaceDollarWithNewline)
|
|
99 |
#set ($encodedValue = $encoder.encodeForHTML($value.getDisplayValue()).replaceAll($encoder.encodeForHTML("$"),"<br>"))
|
|
100 |
#else
|
|
101 |
#set ($encodedValue = $encoder.encodeForHTML($value.getDisplayValue()))
|
|
102 |
#end
|
|
103 |
#if ($attributeReleaseFlowDescriptor.perAttributeConsentEnabled)
|
|
104 |
<label for="$attribute.id"><strong>$encodedValue</strong></label>
|
|
105 |
#else
|
|
106 |
<strong>$encodedValue</strong>
|
|
107 |
#end
|
|
108 |
<br>
|
|
109 |
#end
|
|
110 |
</td>
|
|
111 |
<td style="vertical-align: top">
|
|
112 |
#if ($attributeReleaseFlowDescriptor.perAttributeConsentEnabled)
|
|
113 |
#set ($inputType = "checkbox")
|
|
114 |
#else
|
|
115 |
#set ($inputType = "hidden")
|
|
116 |
#end
|
|
117 |
<input id="$attribute.id" type="$inputType" name="_shib_idp_consentIds" value="$encoder.encodeForHTML($attribute.id)" checked>
|
|
118 |
</td>
|
|
119 |
</tr>
|
|
120 |
#end
|
|
121 |
</tbody>
|
|
122 |
</table>
|
|
123 | 123 |
#if ($privacyStatementURL) |
124 |
<p style="margin-top: 10px;"> |
|
125 |
<a href="$privacyStatementURL">#springMessageText("idp.attribute-release.privacyStatementURLLabel", "Data privacy information of the service")</a> |
|
126 |
</p> |
|
124 |
<p style="margin-top: 10px;">
|
|
125 |
<a href="$privacyStatementURL">#springMessageText("idp.attribute-release.privacyStatementURLLabel", "Data privacy information of the service")</a>
|
|
126 |
</p>
|
|
127 | 127 |
#end |
128 | 128 |
<div style="float:left;"> |
129 |
<p> |
|
130 |
#springMessageText("idp.attribute-release.confirmationQuestion", "The information above would be shared with the service if you proceed. Do you agree to release this information to the service every time you access it?") |
|
131 |
</p> |
|
132 |
#if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed) |
|
133 |
<div id="generalConsentDiv" class="uk-dark uk-background-muted uk-padding"> |
|
134 | 129 |
<p> |
135 |
#springMessageText("idp.attribute-release.consentMethod", "Select an information release consent duration:")
|
|
130 |
#springMessageText("idp.attribute-release.confirmationQuestion", "The information above would be shared with the service if you proceed. Do you agree to release this information to the service every time you access it?")
|
|
136 | 131 |
</p> |
132 |
#if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed) |
|
133 |
<div id="generalConsentDiv" class="uk-dark uk-background-muted uk-padding"> |
|
134 |
<p> |
|
135 |
#springMessageText("idp.attribute-release.consentMethod", "Select an information release consent duration:") |
|
136 |
</p> |
|
137 | 137 |
#end |
138 | 138 |
#if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed) |
139 |
<p> |
|
140 |
<input id="_shib_idp_doNotRememberConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_doNotRememberConsent"> |
|
141 |
<label for="_shib_idp_doNotRememberConsent">#springMessageText("idp.attribute-release.doNotRememberConsentItem", "I agree to send my information this time.")</label> |
|
142 |
</p> |
|
139 |
<p>
|
|
140 |
<input id="_shib_idp_doNotRememberConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_doNotRememberConsent">
|
|
141 |
<label for="_shib_idp_doNotRememberConsent">#springMessageText("idp.attribute-release.doNotRememberConsentItem", "I agree to send my information this time.")</label>
|
|
142 |
</p>
|
|
143 | 143 |
#end |
144 | 144 |
#if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed) |
145 |
<p> |
|
146 |
<input id="_shib_idp_rememberConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_rememberConsent" checked> |
|
147 |
<label for="_shib_idp_rememberConsent">#springMessageText("", "I agree that the same information will be sent automatically to this <b>$serviceName</b> in the future.")</label> |
|
148 |
</p> |
|
145 |
<p>
|
|
146 |
<input id="_shib_idp_rememberConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_rememberConsent" checked>
|
|
147 |
<label for="_shib_idp_rememberConsent">#springMessageText("", "I agree that the same information will be sent automatically to this <b>$serviceName</b> in the future.")</label>
|
|
148 |
</p>
|
|
149 | 149 |
#end |
150 |
## #if ($attributeReleaseFlowDescriptor.globalConsentAllowed)
|
|
151 |
## <p>
|
|
152 |
## <input id="_shib_idp_globalConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_globalConsent">
|
|
153 |
## <label for="_shib_idp_globalConsent">#springMessageText("idp.attribute-release.globalConsentItem", "I agree that <strong>all</strong> of my information will be released to <strong>any</strong> service.")</label>
|
|
154 |
## </p>
|
|
155 |
## #end
|
|
150 |
## #if ($attributeReleaseFlowDescriptor.globalConsentAllowed) |
|
151 |
## <p> |
|
152 |
## <input id="_shib_idp_globalConsent" type="radio" name="_shib_idp_consentOptions" value="_shib_idp_globalConsent"> |
|
153 |
## <label for="_shib_idp_globalConsent">#springMessageText("idp.attribute-release.globalConsentItem", "I agree that <strong>all</strong> of my information will be released to <strong>any</strong> service.")</label> |
|
154 |
## </p> |
|
155 |
## #end |
|
156 | 156 |
#if ($attributeReleaseFlowDescriptor.doNotRememberConsentAllowed || $attributeReleaseFlowDescriptor.globalConsentAllowed) |
157 |
#springMessageText("idp.attribute-release.consentMethodRevoke", "This setting can be revoked at any time with the checkbox on the login page.") |
|
158 |
</div> |
|
159 |
#end |
|
160 |
<p style="text-align: center;"> |
|
161 |
<input type="submit" name="_eventId_AttributeReleaseRejected" value="#springMessageText("idp.attribute-release.reject", "Reject")" style="margin-right: 30px;" class="uk-button uk-button-primary"> |
|
162 |
<input type="submit" name="_eventId_proceed" value="#springMessageText("idp.attribute-release.accept", "Accept")" class="uk-button uk-button-primary"> |
|
163 |
</p> |
|
157 |
#springMessageText("idp.attribute-release.consentMethodRevoke", "This setting can be revoked at any time with the checkbox on the login page.")
|
|
158 |
</div>
|
|
159 |
#end
|
|
160 |
<p style="text-align: center;">
|
|
161 |
<input type="submit" name="_eventId_AttributeReleaseRejected" value="#springMessageText("idp.attribute-release.reject", "Reject")" style="margin-right: 30px;" class="uk-button uk-button-primary">
|
|
162 |
<input type="submit" name="_eventId_proceed" value="#springMessageText("idp.attribute-release.accept", "Accept")" class="uk-button uk-button-primary">
|
|
163 |
</p>
|
|
164 | 164 |
</div> |
165 |
</div> |
|
166 |
</form> |
|
167 |
</div> |
|
168 |
</div> |
|
169 |
</div> |
|
170 |
</div> |
|
171 |
</div> |
|
172 |
<!-- FOOTER STARTS HERE--> |
|
173 |
<div class="custom-footer"> |
|
174 |
<div class="uk-section-primary uk-section uk-section-small"> |
|
175 |
<div class="uk-container"> |
|
176 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
177 |
<div class="uk-width-1-1@m uk-first-column"> |
|
178 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center"> |
|
179 |
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png"> |
|
180 | 165 |
</div> |
181 |
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead">
|
|
182 |
<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>
|
|
183 |
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div>
|
|
166 |
</form>
|
|
167 |
</div>
|
|
168 |
</div>
|
|
184 | 169 |
</div> |
185 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right"> |
|
186 |
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a> |
|
170 |
</div> |
|
171 |
</div> |
|
172 |
<!-- FOOTER STARTS HERE--> |
|
173 |
<div class="custom-footer"> |
|
174 |
<div class="uk-section-primary uk-section uk-section-small"> |
|
175 |
<div class="uk-container"> |
|
176 |
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid=""> |
|
177 |
<div class="uk-width-1-1@m uk-first-column"> |
|
178 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center"> |
|
179 |
<img alt="OpenAIRE" class="el-image" src="$request.getContextPath()/images/Logo_Horizontal_white_small.png"> |
|
180 |
</div> |
|
181 |
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead"> |
|
182 |
<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> |
|
183 |
<div>OPENAIRE IS POWERED BY <a href="http://www.d-net.research-infrastructures.eu/" target="_blank">D-NET</a>.</div> |
|
184 |
</div> |
|
185 |
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right"> |
|
186 |
<a class="uk-totop uk-icon" href="#" uk-scroll="" uk-totop=""></a> |
|
187 |
</div> |
|
188 |
</div> |
|
189 |
</div> |
|
187 | 190 |
</div> |
188 |
</div> |
|
189 |
</div> |
|
191 |
</div> |
|
190 | 192 |
</div> |
191 |
</div> |
|
192 |
</div> |
|
193 | 193 |
|
194 | 194 |
|
195 |
</body> |
|
195 |
</body>
|
|
196 | 196 |
</html> |
Also available in: Unified diff
add latest changes