2017-07-16 21:19:44 +07:00
|
|
|
<!DOCTYPE>
|
2016-12-18 01:36:41 +07:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Home page</title>
|
2017-07-16 21:19:44 +07:00
|
|
|
<link rel="icon" href="/icon.png" type="image/png" />
|
2016-12-18 01:36:41 +07:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-03-26 00:38:14 +07:00
|
|
|
<h1>Access the secret</h1>
|
|
|
|
You need to log in to access the secret!<br/><br/>
|
|
|
|
Try to access it via one of the following links.<br/>
|
|
|
|
<ul>
|
2017-07-27 04:45:26 +07:00
|
|
|
<li>
|
|
|
|
<a href="https://public.test.local:8080/secret.html">public.test.local</a>
|
|
|
|
</li>
|
2017-03-26 00:38:14 +07:00
|
|
|
<li>
|
|
|
|
<a href="https://secret.test.local:8080/secret.html">secret.test.local</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://secret1.test.local:8080/secret.html">secret1.test.local</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://secret2.test.local:8080/secret.html">secret2.test.local</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://mx1.mail.test.local:8080/secret.html">mx1.mail.test.local</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://mx2.mail.test.local:8080/secret.html">mx2.mail.test.local</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2017-05-14 22:34:51 +07:00
|
|
|
You can also log off by visiting the following <a href="https://auth.test.local:8080/logout?redirect=https://home.test.local:8080/">link</a>.
|
2017-03-26 00:38:14 +07:00
|
|
|
|
|
|
|
<h1>List of users</h1>
|
|
|
|
Here is the list of credentials you can log in with to test access control.
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><strong>john / password</strong>: belongs to <em>admin</em> and <em>dev</em> groups.</li>
|
|
|
|
<li><strong>bob / password</strong>: belongs to <em>dev</em> group only.</li>
|
|
|
|
<li><strong>harry / password</strong>: does not belong to any group.</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h1>Access control rules</h1>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><strong>Default policy</strong>
|
|
|
|
<ul>
|
2017-07-27 04:45:26 +07:00
|
|
|
<li>public.test.local</li>
|
2017-03-26 00:38:14 +07:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><strong>Groups policy</strong>
|
|
|
|
<ul>
|
|
|
|
<li>admin
|
|
|
|
<ul>
|
|
|
|
<li>*.test.local</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>dev
|
|
|
|
<ul>
|
|
|
|
<li>secret.test.local</li>
|
|
|
|
<li>secret2.test.local</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><strong>Users policy</strong>
|
|
|
|
<ul>
|
|
|
|
<li>harry
|
|
|
|
<ul>
|
|
|
|
<li>secret1.test.local</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>bob
|
|
|
|
<ul>
|
|
|
|
<li>*.mail.test.local</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-12-18 01:36:41 +07:00
|
|
|
</body>
|
|
|
|
</html>
|