SEC-2560: Remove samples from .gitignore and add missing sample files
This commit is contained in:
27
samples/preauth-jc/src/main/resources/views/login.html
Normal file
27
samples/preauth-jc/src/main/resources/views/login.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<html xmlns:th="http://www.thymeleaf.org" xmlns:tiles="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<title tiles:fragment="title">Messages : Create</title>
|
||||
</head>
|
||||
<body>
|
||||
<div tiles:fragment="content">
|
||||
<form name="f" th:action="@{/j_security_check}" method="post">
|
||||
<fieldset>
|
||||
<legend>Please Login</legend>
|
||||
<div th:if="${param.error}" class="alert alert-error">
|
||||
Invalid username and password.
|
||||
</div>
|
||||
<div th:if="${param.logout}" class="alert alert-success">
|
||||
You have been logged out.
|
||||
</div>
|
||||
<label for="j_username">Username</label>
|
||||
<input type="text" id="j_username" name="j_username"/>
|
||||
<label for="j_password">Password</label>
|
||||
<input type="password" id="j_password" name="j_password"/>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn">Log in</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user