J2EE™ Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice
by Pankaj Kumar
A Simple Web Application: RMB
Web application RMB implements the functionality of a simple message board. It maintains a list of messages accessible from a browser. A user can view the posted messages, post a new message or remove an existing message. There is no security mechanism built into this application (yet). Although a user is asked to enter his or her name while posting a message, this is only for displaying the author's name. All users are allowed to post and any user can delete a message.
The source files and compilation scripts of RMB are available in the directory tree rooted at rmb within src\jsbook\ch9 directory of the bundled software. Refer to Listing 9-1 for the RMB directory structure and individual filenames.
Compile the RMB ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access