|
|
|
@ -8,26 +8,42 @@
|
|
|
|
|
<!DOCTYPE HTML>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Oauth login</title>
|
|
|
|
|
<title>Oauth Login</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<h2>Oauth login</h2>
|
|
|
|
|
<h2 class="page-header">Oauth Login</h2>
|
|
|
|
|
|
|
|
|
|
<form action="${pageContext.request.contextPath}/login.do" method="post">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<form action="${pageContext.request.contextPath}/login.do" method="post" class="form-horizontal">
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="username" class="col-sm-3 control-label">Username</label>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" id="username" name="username" value="" placeholder="Type username"
|
|
|
|
|
required="required" class="form-control"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="password" class="col-sm-3 control-label">Password</label>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="password" name="password" id="password" value="" placeholder="Type password"
|
|
|
|
|
required="required" class="form-control"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="submit" value="Login" class="btn btn-primary"/>
|
|
|
|
|
<a href="${pageContext.request.contextPath}">Back to Home</a>
|
|
|
|
|
<span class="label label-danger">
|
|
|
|
|
<c:if test="${param.authorization_error eq 2}">Access denied !!!</c:if>
|
|
|
|
|
<c:if test="${param.authentication_error eq 1}">Authentication Failure</c:if>
|
|
|
|
|
</span>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<label for="username">Username:</label>
|
|
|
|
|
<input type="text" id="username" name="username" value="" required="required"/>
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
<label for="password">Password:</label>
|
|
|
|
|
<input type="password" name="password" id="password" value="" required="required"/>
|
|
|
|
|
<br/>
|
|
|
|
|
<input type="submit" value="Login" class="btn btn-primary"/>
|
|
|
|
|
<span class="text-danger">
|
|
|
|
|
<c:if test="${param.authorization_error eq 2}">Access denied !!!</c:if>
|
|
|
|
|
<c:if test="${param.authentication_error eq 1}">Authentication Failure</c:if>
|
|
|
|
|
</span>
|
|
|
|
|
</form>
|
|
|
|
|
<div>
|
|
|
|
|
<p>You can use the users to login as follow:</p>
|
|
|
|
|
<table class="table table-bordered">
|
|
|
|
|