[jboss-user] [EJB] - JAAS: using sessionbean's home interface method "create" fro

dahagrachops do-not-reply at jboss.com
Sun Oct 25 16:36:48 EDT 2009

Hi friends:)

i have 2 jboss instances:
jboss A (4.2.3) running on interface and deploying some session beans
jboss B (5.0) running remotely on other network interface and deploying a MDB

The MDB can read message from remote topic on A

If i try to use the create method of a session bean on jboss A, i have a SecurityException:

java.rmi.AccessException: SecurityException; nested exception is: 
	java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=SourceServiceBean, method=create, interface=HOME, requiredRoles=[ENABLED, SUPEROWNER, INITIALIZER, INDEXER], principalRoles=[]

There is something to add about JAAS, maybe in a jboss config file, but i don't know where.
Can you help me please?

Bye and thanks;)

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

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

More information about the jboss-user mailing list