0 Replies Latest reply on Dec 19, 2002 7:13 AM by Stefan Heckler

    security proyx (jboss 3.00) ignored

    Stefan Heckler Novice

      I try to use a security proxy as described at jboss docs, but it is totaly ignored.


      I use this customizations

      jboss.xml:

      <security-domain>java:/jaas/otherDB_example</security-domain>

      <ejb-name>DBAnmeldungMgr</ejb-name>
      <security-poxy>example.DBAnmeldungMgrSecurityProxy
      </security-proxy>
      <jndi-name>DBAnmeldungMgrHome</jndi-name>

      ..

      ejb_jar.xml:
      <method-permission >
      Sample


      Sample Method
      <ejb-name>DBAnmeldungMgr</ejb-name>
      <method-name>*</method-name>

      </method-permission>


      The DBAnmeldungMgrSecurityProxy is (modifyied) example code "EchoSecurityProxy" from the Jboss docs.


      Some other questions on security proxies:

      Can One Security Proxy be used for more than one bean(e.g. to read roles from a database)?

      Do I have to use it instead of declarative security or as add-on?

      Thanks in advance

      Stefan Heckler