Java Reference
In-Depth Information
Re-enter Password :
What roles do you want this user to belong to?
(Please enter a comma separated l
ist, or leave blank for none) :
About to add user 'ejbuser' for realm
'ApplicationRealm'
Is this correct yes/no? yes
Added user 'ejbuser' to file
'C:\jboss-as-7.1.1.Final\standalone\configuration\application-users.properties'
The previous user will be added for you in the application-user.properties
file located in your configuration folder.
This file contains the default security realm named ApplicationRealm . This se-
curity realm uses the following format to store passwords:
username=HEX( MD5( username ':' realm ':'
password))
With the password I've just entered, the fill will contain the following entry:
ejbuser=dc86450aab573bd2a8308ea69bcb8ba9
Now insert the username and password information into jboss-ejb-cli-
ent.properties :
remote.connection.default.username=ejbuser
remote.connection.default.password=ejbuser123
Now, with all the previous information in the right place, you will be able to connect
to your EJB application from a client that is not residing on the same machine as the
server.
Search WWH ::




Custom Search