1 Reply Latest reply on Jul 2, 2003 5:30 AM by juhalindfors

    no match found for security role

    tscondor

      Hi!,
      I have a little problem in my application under jboss 2.4 with Tomcat 2.4.10.
      When an user is authenticated by the system, the instruction: System.out.println(context.getCallerPrincipal().getName());
      function correctly but the container report this error when I use the function isCallerInRole():
      no match found for security role user in the deployment descriptor

      I have attached the jboss xml of my jar.

      Who is the problem?

      Thanks!