aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/webapp/shiro.jspx
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/webapp/shiro.jspx')
-rwxr-xr-xsrc/main/resources/webapp/shiro.jspx45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/main/resources/webapp/shiro.jspx b/src/main/resources/webapp/shiro.jspx
new file mode 100755
index 0000000..59e9f41
--- /dev/null
+++ b/src/main/resources/webapp/shiro.jspx
@@ -0,0 +1,45 @@
+<html xmlns:common="urn:jsptagdir:/WEB-INF/tags/common"
+ xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:shiro="http://shiro.apache.org/tags">
+<jsp:output doctype-root-element="HTML" doctype-system="about:legacy-compat"/>
+<jsp:directive.page contentType="text/html;charset=UTF-8"/>
+
+<common:head/>
+
+<body>
+
+<div id="content">
+
+ <div class="container">
+ <div class="page-header">
+ <h1>Shiro Values</h1>
+ </div>
+
+ <p>
+ <table>
+ <tr>
+ <th>guest</th>
+ <td><shiro:guest>Yes</shiro:guest></td>
+ </tr>
+ <tr>
+ <th>authenticated</th>
+ <td><shiro:authenticated>Yes</shiro:authenticated></td>
+ </tr>
+ <tr>
+ <th>notAuthenticated</th>
+ <td><shiro:notAuthenticated>Yes</shiro:notAuthenticated></td>
+ </tr>
+ <tr>
+ <th>principal</th>
+ <td><shiro:principal>Yes</shiro:principal></td>
+ </tr>
+ </table>
+ </p>
+ </div>
+
+</div>
+
+<common:footer/>
+</body>
+
+</html>