0 Replies Latest reply on Jul 21, 2002 8:51 PM by Mirza Mohsin Beg

    "SecurityProxyFactory not bound" error

    Mirza Mohsin Beg Newbie

      I am trying to enable SecurityProxy without any Jass authorization or "security-domain" in jboss.xml

      I want to write a SecurityProxy that does some verification based on the arguments to one of the methods in the remote-interface of a session bean.

      jboss.jcml:

      org.jboss.security.plugins.JaasS\
      ecurityManager



      jboss.xml:

      <!-- <security-domain>java:/jaas/other</security-domain> -->
      <enterprise-beans>

      <ejb-name>SRPEJB</ejb-name>
      <jndi-name>security.SRPHome</jndi-name>
      <security-proxy>com.certive.ejb.security.SRPSecurityProxy</security-proxy>

      </enterprise-beans>


      I get the following error when starting up jboss2.4.3. What am I doing wrong ?

      [Default] Failed to initialze DefaultSecurityProxy
      [Default] javax.naming.NameNotFoundException: SecurityProxyFactory not bound
      [Default] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)