Skip to content

Commit 765b734

Browse files
committed
Adding basic instructions for WildFly
1 parent c7979ee commit 765b734

File tree

1 file changed

+4
-1
lines changed
  • servlet/servlet-security/src/main/webapp

1 file changed

+4
-1
lines changed

servlet/servlet-security/src/main/webapp/index.jsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
<body>
5353
<h1>Servlet : Security</h1>
5454

55-
<p>Make sure to invoke "./bin/asadmin create-file-user --groups g1 u1" and use the password "p1" when prompted.
55+
Make sure to create a user:<br><br>
56+
57+
For WildFly: Invoke "./add-user.sh -g g1-u u1 -p p1"<br>
58+
For GlassFish: Invoke "./bin/asadmin create-file-user --groups g1 u1" and use the password "p1" when prompted.<br><br>
5659
Then call the <a href="${pageContext.request.contextPath}/SecureServlet">GET</a> method.<br/>
5760
</body>
5861
</html>

0 commit comments

Comments
 (0)