Debian Codegraph @

jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-jetty-webapp/src/main/webapp/auth.html

raw
1 <html>
2 <head>
3 <title>Powered By Jetty - Auth Links</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 </head>
8 <body>
9
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-ee9/jetty-ee9-demos/jetty-ee9-demo-jetty-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
20 <h1>Jetty Authentication Links</h1>
21 <p>
22 This page contains several links to test the authentication constraints:
23 <ul>
24 <li><a href="auth/file.txt">auth/file.txt</a> - Forbidden</li>
25 <li><a href="auth/relax.txt">auth/relax.txt</a> - Allowed</li>
26 <li><a href="auth2">auth2/index.html</a> - Authenticated (tests FormAuthenticator.setAlwaysSaveUri())</li>
27 <li><a href="dump/auth/noaccess/info">dump/auth/noaccess/*</a> - Forbidden</li>
28 <li><a href="dump/auth/relax/info">dump/auth/relax/*</a> - Allowed</li>
29 <li><a href="dump/auth/info">dump/auth/*</a> - Authenticated any user with any role</li>
30 <li><a href="dump/auth/admin/info">dump/auth/admin/*</a> - Authenticated admin role (<a href="session/?Action=Invalidate">click</a> to invalidate session)</li>
31 <li><a href="dump/auth/ssl/info">dump/auth/ssl/*</a> - Confidential</li>
32 <li><a href="rego/info">rego/info/*</a> - Authenticated admin role from programmatic security (<a href="session/?Action=Invalidate">click</a> to invalidate session)</li>
33 <li><a href="rego2/info">rego2/info/*</a> - Authenticated servlet-administrator role from programmatic security (login as admin/admin, <a href="session/?Action=Invalidate">click</a> to invalidate session)</li>
34 <li><a href="login?action=login">login</a> - Programmatically login as the user jetty/jetty</li>
35 <li><a href="login?action=x">check login status</a> - Check the request's login status</li>
36 <li><a href="login?action=logout">logout</a> - Programmatically logout the logged in user</li>
37 <li><a href="login?action=wrong">incorrect login</a> - Programmatically login with incorrect credentials</li>
38 </ul>
39 <p/>
40 <i>Usernames/Passwords are jetty/jetty admin/admin & user/password</i>
41 </div>
42
43 <div class="footer">
44 <center><a href="https://jetty.org"><img style="border:0" src="small_powered_by.gif"/></a></center>
45 </div>
46 </body>
47 </html>