Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb56b3d

Browse files
committed
Fixing the WildFly command such that the user is created in ApplicationRealm
1 parent 4cedd2c commit fb56b3d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
Make sure to create a user:<br><br>
5656

57-
For WildFly: Invoke "./add-user.sh -g g1-u u1 -p p1"<br>
57+
For WildFly: Invoke "./bin/add-user.sh -a -u u1 -p p1 -g g1"<br>
5858
For GlassFish: Invoke "./bin/asadmin create-file-user --groups g1 u1" and use the password "p1" when prompted.<br><br>
5959
Then call the <a href="${pageContext.request.contextPath}/SecureServlet">GET</a> method.<br/>
6060
</body>

0 commit comments

Comments
 (0)