This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
/
login.jsp
190 lines (176 loc) · 6.78 KB
/
login.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<%--
Cloud Foundry 2012.02.03 Beta
Copyright (c) [2009-2012] VMware, Inc. All Rights Reserved.
This product is licensed to you under the Apache License, Version 2.0 (the "License").
You may not use this product except in compliance with the License.
This product includes a number of subcomponents with
separate copyright notices and license terms. Your use of these
subcomponents is subject to the terms and conditions of the
subcomponent's license, as noted in the LICENSE file.
--%>
<%@ page session="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:url var="baseUrl" value="/resources" />
<c:url var="faviconUrl" value="/favicon.ico" />
<!DOCTYPE html>
<!--[if IE]> <![endif]-->
<!--[if lt IE 7 ]> <html lang="en" dir="ltr" class="no-js old_ie ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" dir="ltr" class="no-js old_ie ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" dir="ltr" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" dir="ltr" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]> ><! <![endif]-->
<html class='no-js' dir='ltr' lang='en'>
<!-- <![endif] -->
<head>
<title>Login | Cloud Foundry</title>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='VMware' name='author' />
<meta content='Copyright VMware 2011. All Rights Reserved.'
name='copyright' />
<link href='${faviconUrl}' rel='shortcut icon' />
<meta content='all' name='robots' />
<link href='${baseUrl}/stylesheets/print.css' media='print'
rel='stylesheet' type='text/css' />
<link href='${baseUrl}/stylesheets/login.css' media='screen'
rel='stylesheet' type='text/css' />
<!--[if IE 9 ]> <link href="${baseUrl}/stylesheets/ie9.css" media="screen" rel="stylesheet" type="text/css" /> <![endif]-->
<!--[if lt IE 9 ]> <link href="${baseUrl}/stylesheets/ie.css" media="screen" rel="stylesheet" type="text/css" /> <![endif]-->
<!--[if lt IE 8 ]> <link href="${baseUrl}/stylesheets/ie7.css" media="screen" rel="stylesheet" type="text/css" /> <![endif]-->
<style media='screen' type='text/css'>
.js-hide {
display: none;
}
.js-show {
display: block;
}
.fouc-fix {
display: none;
}
</style>
<meta content='' name='Description' />
<meta content='' name='keywords' />
<style type='text/css'>
img.gsc-branding-img,img.gsc-branding-img-noclear,img.gcsc-branding-img,img.gcsc-branding-img-noclear
{
display: none;
}
.gs-result .gs-title,.gs-result .gs-title * {
color: #0094d4;
}
</style>
<script type="text/javascript" src="${baseUrl}/javascripts/jquery.js"></script>
<script type="text/javascript"
src="${baseUrl}/javascripts/placeholder.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('form:first *:input[type!=hidden]:first').focus();
});
</script>
<script type="text/javascript">
(function() {
// force ssl if cf.com
var loc = window.location;
if (loc.hostname.indexOf('cloudfoundry.com') >= 0
&& loc.protocol == "http:") {
window.location = "https://" + loc.host + loc.pathname + loc.search
+ loc.hash;
}
})();
</script>
</head>
<body id="micro">
<div class="splash">
<a href='${links.home}/'><img
alt="Cloud Foundry: The Industry's Open Platform As A Service"
class="logo" src='${baseUrl}/images/logo_header_cloudfoundry.png'
width='373' height='70'></img> </a>
<div class="splash-box">
<article class="container">
<p>Sign in with your CloudFoundry.com credentials.</p>
<form id="loginForm" name="loginForm"
action="<c:url value="/login.do"/>" method="POST" novalidate>
<div>
<c:if test="${not empty param.error}">
<div class="flash">Sorry, we couldn't verify your email and
password.</div>
</c:if>
<c:forEach items="${prompts}" var="prompt">
<label class="input"> <span>${prompt.value[1]}</span> <input
id='${prompt.key}' type='${prompt.value[0]}'
name='${prompt.key}' />
</label>
</c:forEach>
</div>
<button type="submit" class="orange-button">Sign in</button>
<span class="button-alt"> <a class="question passwd"
target="_blank" href="${links.passwd}">Forgot your password</a></span><br />
<br />
</form>
<p>
Don't have an account? <a href="${links.register}">Register here.</a>
</p>
<p>Reminder: do not type your Cloud Foundry password into any
site except <a href="${links.login}">${links.login}</a>.</p>
</article>
</div>
<div class="footer"
title="Version: ${app.version}, Commit: ${commit_id}, Timestamp: ${timestamp}, UAA: ${links.uaa}">
Copyright ©
<fmt:formatDate value="<%=new java.util.Date()%>" pattern="yyyy" />
VMware, Inc. All rights reserved.
</div>
</div>
<%-- Clear out session scoped attributes, don't leak info --%>
<c:if
test="${not empty sessionScope['SPRING_SECURITY_LAST_EXCEPTION']}">
<c:set scope="session" var="SPRING_SECURITY_LAST_EXCEPTION"
value="${null}" />
</c:if>
<c:if test="${not empty sessionScope['SPRING_SECURITY_LAST_USERNAME']}">
<c:set scope="session" var="SPRING_SECURITY_LAST_USERNAME"
value="${null}" />
</c:if>
<!--
Start of DoubleClick Floodlight Tag: Please do not remove
Activity name of this tag: Micro Cloud Foundry - Landing Page Arrival
URL of the webpage where the tag is expected to be placed: https://www.cloudfoundry.com/micro
This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
Creation Date: 08/18/2011
-->
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document
.write('<iframe src="https://fls.doubleclick.net/activityi;src=2645750;type=cloud806;cat=micro467;ord='
+ a
+ '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
</script>
<noscript>
<iframe
src="https://fls.doubleclick.net/activityi;src=2645750;type=cloud806;cat=micro467;ord=1?"
width="1" height="1" frameborder="0" style="display: none"></iframe>
</noscript>
<!-- End of DoubleClick Floodlight Tag: Please do not remove -->
<script>
var _gaq = _gaq || [];
_gaq.push([ '_setAccount', 'UA-22181585-1' ]);
_gaq.push([ '_trackPageview' ]);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl'
: 'http://www')
+ '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript"
src="//www.vmware.com/files/templates/inc/s_code_vmw.js"></script>
</body>
</html>