1 Reply Latest reply on Mar 15, 2015 3:11 AM by Flemming Harms

    EJB 3.1 block external connection.

    Andrea Catania Newbie

      I have a Stateless bean where I want to allow access only to the client that I authorize.

      The bean:


      public class LibraryBean implements LibraryIFace {
         public void setName(String name){
        sb.setName( name );
         public String getName(){
         return sb.getName();
         private SingIFace sb;

      I know that every one can access to this bean.

      How can I block all connections not trusted?

      I using wildfly.

      Thanks in advance Andrea.