Java Reference
In-Depth Information
If executed from the Eclipse environment, you should be able to see the following GUI
screenshot:
At the moment, our application provides three functions: a book to book a seat, a list to
list all the theatre seats, and money to retrieve the account balance. In the next sections,
we will enrich our application by adding some more commands.
Adding user authentication
If you are running this example from a client that is located on the same machine as the
application server, the remoting framework will silently allow communication between
the client and your EJB's classes. On the other hand, for a client located on a remote sys-
tem, you will be required to provide authentication for your requests. In order to add an
application user, launch the add-user.sh (or add-user.bat ) script, which is loc-
ated at JBOSS_HOME/bin .
Here's a transcript of a user creation example:
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): b
Enter the details of the new user to add.
Using realm 'ApplicationRealm' as discovered from the
existing property files.
Username : ejbuser
Search WWH ::




Custom Search