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?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834036#3834036

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834036


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to