| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>JAAS Authentication and Authorization Test</title> |
| 4 |
<meta http-equiv="Pragma" content="no-cache"> |
| 5 |
<meta http-equiv="Cache-Control" content="no-cache,no-store"> |
| 6 |
<link rel="stylesheet" href="demo.css"/> |
| 7 |
</style> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<div class="topnav"> |
| 11 |
<a class="menu" href="http://localhost:8080/">Demo Home</a> |
| 12 |
<a class="menu" href="https://github.com/jetty/jetty.project/tree/jetty-12.0.x/jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-jaas-webapp/">Source</a> |
| 13 |
<a class="menu" href="https://jetty.org/">Jetty Project Home</a> |
| 14 |
<a class="menu" href="https://jetty.org/docs/">Documentation</a> |
| 15 |
<a class="menu" href="https://webtide.com">Commercial Support</a> |
| 16 |
</div> |
| 17 |
|
| 18 |
<div class="content"> |
| 19 |
<center> |
| 20 |
<span style="color:red; font-style:italic; font-weight:bold">Demo Web Application Only - Do NOT Deploy in Production</span> |
| 21 |
</center> |
| 22 |
<h1>JAAS Demo</h1> |
| 23 |
<p> |
| 24 |
This is a demo webapp for the <a href="https://jetty.org/">Eclipse Jetty HTTP Server and Servlet Container</a>. It was added into your <code>$JETTY_BASE/webapps</code> directory. |
| 25 |
|
| 26 |
It uses a simple login module that stores its configuration in a properties file. |
| 27 |
</p> |
| 28 |
|
| 29 |
<h2>Using the Demo</h2> |
| 30 |
<p> |
| 31 |
Click on the link below to test JAAS <i>authentication</i> and role-based web security constraint <i>authorization</i>. Use |
| 32 |
username=<code>me</code> with password=<code>me</code>. All other usernames and passwords should result in authentication |
| 33 |
failure. |
| 34 |
</p> |
| 35 |
<big><b><a href="auth.html">START</A></b></big> |
| 36 |
</div> |
| 37 |
|
| 38 |
<div class="footer"> |
| 39 |
<center><a href="https://jetty.org"><img style="border:0" src="small_powered_by.gif"/></a></center> |
| 40 |
</div> |
| 41 |
|
| 42 |
</body> |
| 43 |
</html> |