0 Replies Latest reply on Mar 9, 2011 11:01 PM by jboss chen

    How can i secure the link between tomcat and ejb in jboss

    jboss chen Newbie

        I use jsp in tomcat to access the remote ejb in jboss,the code like this :

               Hashtable environment = new Hashtable();
              environment.put(Context.PROVIDER_URL, "jnp://");
             InitialContext mycontext = new InitialContext(environment);
              Mysource temp = (Mysource)ctx.lookup("MysourceBean/remote");


        But i am confused that it seems anyone can access my ejb if know the jnp address and method name.

        Is there a way to secure the link?