0 Replies Latest reply on May 7, 2004 3:03 AM by fheldt

    Mysterious warning with JBoss.NET webservice

    fheldt

      I have a mysterious warning showing up in the server.log file with my webservice.

      First i build my webservice with xdoclet from a session bean

      * @ejb.permission role-name="Master,Admin,Operator,User"
      * @jboss-net.authorization
      * domain="dhcRealm"
      * roles-allowed="Master,Admin,Operator,User"

      and everything works fine.

      But when i call

      this.context.isCallerInRole("Master")
      within this bean, i get the following warning in the log:

      WARN [org.jboss.ejb.EnterpriseContext] no match found for security role Master in the deployment descriptor.


      Apart this warning the call works as expected.

      Any idea what happens here?