After many research, I think the answer is here :
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortingFromWeblogic
For weblogic users :
There is a important difference between jboss and weblogic for webapp (and I
suppose for EJB too) :
In weblogic : you can map a role to realm groups/users using
Hello Scott and thank you for answering,
I think I don't understand the whole thing, though it's clear to me when I use
Weblogic. Maybe you can help me to improve my undestanding of jboss, can't you ?
What I understand :
Application developer want to restraitn access to specific URL and so use
the only use of principal-name in the security-role is to assign additional
roles to run-as principals. Authenticated users obtain their roles from the
jaas login.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3888218#3888218
Reply to the post :
I precise that if in my jboss-web.xml I use a role-name which is not declared
in a security-role of the web.xml, the webapp is not deployed saying there is
a mistake in the jboss-web.xml, which is normal.
So, my problem is that utilisateurCollaborateur is not mapped to the
principal-name I