Java Reference
In-Depth Information
Once the user is added, the application-users.properties file will contain
the username and the MD5 encoding of the password:
demouser=290dfdb724ee4ed466b401a22040efd2
Conversely, the application-roles.properties file will contain the roles gran-
ted to the demouser username once logged in:
demouser=Manager
Using the login module in the Ticket web
application
We can now apply the RealmUserRoles login module into any Ticket web applica-
tion described in the topic. We will show at first how to provide a BASIC web authen-
tication and then we will show a slightly more complex example using FORM-based
authentication.
Search WWH ::




Custom Search