Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 1.51 KB

README.md

File metadata and controls

23 lines (22 loc) · 1.51 KB

ejb-client-server-jboss-example

Desktop client built in maven that makes calls to a remote EJB implementation on Jboss Server that returns the result of the sum of two numbers. The calls are protected with security-realm in Jboss.

Server

  • Create Jboss user (It must be user application)
  • Command: ./add-user.sh
  • The username will be: auditoria
  • The password will be: auditoria1*
  • Slaves Hosts: Y
  • Copy the secret value, in my case: <secret value="YXVkaXRvcmlhMSo=" />
  • The file standalone.xml should be as follows:
    • Add new security-realm under security-reals section: security-reals section
    • Set the security realm connection and port security realm connection port1
    • Deployment log deployment log -My standalone.xml standalone.xml

Client

  • Execution output Execution output