I am trying to create a simple EJB Stateless session bean application to check the authentication in WildFly 8.2. I am able to authenticate the MDB but the Stateless session and i dono what i am missing. By Default it is allowing all incoming connection without authenticating it. Can any one please provide me with sample standlone file and source file ? Please find the Standlone file that i used and the source files.
I read the schema definition for the Management tag that is used to specify the security-realm. In that i have added local tag inside the authentication tag which enabled the local authentication. Because of this i was not able to authenticate the EJB stateless session bean.
Now i removed the local tag .