Re: [JBoss-user] Insufficient method permissions; method=getEJBObject

2003-11-21 Thread Scott M Stark
ejbActivate is not call with the run-as roll established as it should be so this is a bug. -- Scott Stark Chief Technology Officer JBoss Group, LLC Sternagel Annegret (MPI/ADB) wrote: Hello, I'm facing a problem which I think may be a bug in

[JBoss-user] Insufficient method permissions; method=getEJBObject

2003-11-18 Thread Sternagel Annegret (MPI/ADB)
Hello, I'm facing a problem which I think may be a bug in jboss. I'm using jboss 2.4.10 on Windows 2000 Java Version: Sun 1.4.1_02 A Stateful SessionBean BeanA creates another Stateful SessionBean BeanB. BeanA has method permission set for role Administrator and the runAs attribute set to

[JBoss-user] Insufficient method permissions

2003-07-01 Thread Pham Thanh Quan
Hi all, When I run the following piece of code: Properties properties = new Properties(); properties.put(java.naming.provider.url, url); properties.put(java.naming.factory.initial, jndiContextClass);

Re: [JBoss-user] Insufficient method permissions

2003-07-01 Thread Scott M Stark
Our default login mechanism is not through the JNDI InitialContext. If you want to do that you need to use the org.jboss.security.jndi.LoginInitialContextFactory: Properties env = new Properties(); // Try with a login that should succeed

RE: [JBoss-user] Insufficient method permissions

2003-07-01 Thread Pham Thanh Quan
Title: RE: [JBoss-user] Insufficient method permissions Dear Scott, I apologize for my disturbance. I am still confused about the myLoginConfig. In my login-config.xml, I have the following application-policy elements: application-policy name = client-login