0 Replies Latest reply on Jul 27, 2017 2:18 AM by ravi narayanan

    Mocking JBoss Security Application Realm for Junit test cases

    ravi narayanan Expert



      Iam using jbos EAP 6.


      I have created users and roles in ApplicationRealm with the help of add-user.bat.


      Iam authentication and authorizing the  soap webservices using the users created in ApplicationRealm.


      Below is the sample quickstart example:


      quickstarts/demos/policy-security-wss-username at master · jboss-switchyard/quickstarts · GitHub


      i would like to mock the application realm store for the sake of Junit test case,can you please tell how can i achieve it.