[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-10 Thread leobaz2
Does anyone else have any ideas? This was easy to do with EJB 2.x. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4195612#4195612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4195612

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-09 Thread Wolfgang Knauf
Ok, I'm sorry, I misunderstood your initial question. I cannot help you further. Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4195388#4195388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4195388

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-08 Thread leobaz2
That is what you do to declare your roles. I have already done that. I need to declare my role references because the roles that I have hardcoded in my beans might not necessarily be the roles used in the deployment. View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-05 Thread Wolfgang Knauf
Hi, you don't need to specify your session beans in ejb-jar.xml, if you just want to declare the roles. The beans can still use annotations. Here is a sample: ?xml version=1.0 encoding=UTF-8? | ejb-jar id=ejb-jar_ID version=3.0 xmlns=http://java.sun.com/xml/ns/javaee; |

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-04 Thread leobaz2
I tried to create the ejb-jar.xml but it requires me to also define the ejb-class, session-type, transaction-type, etc. Shouldn't this all be defined from the annotations? It seems redundant to me. Is this the only way to define security role references? I've tried in jboss.xml and

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-02 Thread leobaz2
Thanks for your help, I'll give that a try and let you know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193848#4193848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193848

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-01 Thread Wolfgang Knauf
It should be no problem to merge annotations and ejb-jar.xml. Best regards Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193501#4193501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193501

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-11-28 Thread Wolfgang Knauf
You could try to add this to ejb-jar.xml in the EJB JAR instead (just a guess). Hope this helps Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193064#4193064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193064

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-11-28 Thread leobaz2
Thanks Wolfgang, but I don't have an ejb-jar.xml since I am using annotations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193089#4193089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193089