[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=bb&op=viewtopic&p=4195612#4195612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=4195388#4195388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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 : http://www.jboss.com/index.html?module=bb&op=viewto

[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: | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="htt

[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-app

[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=bb&op=viewtopic&p=4193848#4193848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=4193501#4193501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193501 _

[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=bb&op=viewtopic&p=4193089#4193089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193089

[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=bb&op=viewtopic&p=4193064#4193064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4