I think so.

However, I'm pretty confused at the moment by all the different concepts around security. If you could spend a few minutes and explain how
contextID
realm
role
principal
permission


relate I'd really appreciate it. In particular I really don't understand how realms and contextIDs relate and may have put the wrong call in the EJBModuleDeploymentPlanner.

When a call comes in from the outside world, how is the realm determined?

Many thanks,
david jencks

On Sunday, January 4, 2004, at 09:38 AM, Alan D. Cabrera wrote:

Did this get resolved?


Regards, Alan

-----Original Message-----
From: Jacek Laskowski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 11:15 AM
To: [EMAIL PROTECTED]
Subject: o.a.g..security.*ModuleConfiguration broke Geronimo-Nova
integration

Hi,

I don't want to spread FUD, but the latest changes to
org.apache.geronimo.security.*ModuleConfiguration classes broke the
Geronimo-Nova integration. It's now impossible to deploy EJBs.

Once I made a few changes to EJBModuleDeploymentPlanner (which would
incur sending the email to openejb-dev mailing list), now I'm studying
the following stack trace:

[java] 17:02:56,145 WARN [DeploymentController] Unable to
complete
deployment job 3
     [java] org.apache.geronimo.kernel.deployment.DeploymentException:
[geronimo.security:type=EJBModuleConfiguration,contextID=mymodulename]
java.lang.reflect.InvocationTargetException
     [java]      at

org.apache.geronimo.kernel.deployment.task.DeployGeronimoMBean.perform( D
ep
loyGeronimoMBean.java:169)
     [java]      at

org.apache.geronimo.kernel.deployment.DeploymentPlan.execute(Deployment P
la
n.java:107)
     [java]      at

org.apache.geronimo.kernel.deployment.DeploymentController.executePlans (
De
ploymentController.java:270)
     [java]      at

org.apache.geronimo.kernel.deployment.DeploymentController.executeJob(D e
pl
oymentController.java:194)
     [java]      at

org.apache.geronimo.kernel.deployment.DeploymentController.access$200(D e
pl
oymentController.java:89)
     [java]      at

org.apache.geronimo.kernel.deployment.DeploymentController$DeploymentWa i
te
r.run(DeploymentController.java:324)
     [java]      at java.lang.Thread.run(Thread.java:534)
     [java] Caused by: java.lang.reflect.InvocationTargetException
     [java]      at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]      at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor A
cc
essorImpl.java:39)
     [java]      at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon s
tr
uctorAccessorImpl.java:27)
     [java]      at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     [java]      at

org.apache.geronimo.kernel.service.ParserUtil.instantiate(ParserUtil.ja v
a:
409)
     [java]      at

org.apache.geronimo.kernel.service.ParserUtil.instantiate(ParserUtil.ja v
a:
421)
     [java]      at

org.apache.geronimo.kernel.deployment.task.DeployGeronimoMBean.perform( D
ep
loyGeronimoMBean.java:152)
     [java]      ... 6 more
     [java] Caused by:
org.apache.geronimo.security.GeronimoSecurityException: Unable to find
PolicyConfigurationFactory
     [java]      at

org.apache.geronimo.security.AbstractModuleConfiguration.<init>(Abstrac t
Mo
duleConfiguration.java:94)
     [java]      at

org.apache.geronimo.security.EJBModuleConfiguration.<init>(EJBModuleCon f
ig
uration.java:86)
     [java]      ... 13 more
     [java] Caused by: java.lang.ClassNotFoundException: Property
javax.security.jacc.PolicyConfigurationFactory.provider not set
     [java]      at

javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfiguratio n
Fa
ctory.java:118)
     [java]      at java.security.AccessController.doPrivileged(Native
Method)
     [java]      at

javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFa c
to
ry(PolicyConfigurationFactory.java:112)
     [java]      at

org.apache.geronimo.security.AbstractModuleConfiguration.<init>(Abstrac t
Mo
duleConfiguration.java:91)
     [java]      ... 14 more

Jacek




Reply via email to