[jboss-dev-forums] [Design of Security on JBoss] - Re: Security EJB2 and dependencies
anil.saldhana@jboss.com
do-not-reply at jboss.com
Tue Apr 22 13:15:26 EDT 2008
Adrian, I tried adding the following piece of code into start() of SecurityInterceptor for the pooled tests,
|
| // Container implementation --------------------------------------
| public void start() throws Exception
| {
| ....
|
| //Take care of hot deployed security domains
| if(container != null)
| {
| securityManager = container.getSecurityManager();
| if(securityManager != null)
| {
| appSecurityDomain = securityManager.getSecurityDomain();
| appSecurityDomain = SecurityUtil.unprefixSecurityDomain(appSecurityDomain);
| }
| }
| }
|
I see basically deployment issues.
| 2008-04-22 11:55:28,593 DEBUG [org.jboss.ejb.StatelessSessionContainer] (RMI TCP
| Connection(6)-127.0.0.1) End java:comp/env for EJB: StatelessSessionWithPooledSSL
| 2008-04-22 11:55:28,593 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory
| ] (RMI TCP Connection(6)-127.0.0.1) StatelessSessionWithPooledSSL cannot be Bound, doesn't have local and local home interfaces
| 2008-04-22 11:55:28,593 DEBUG [org.jboss.ejb.StatelessSessionContainer] (RMI TCP
| Connection(6)-127.0.0.1) Starting failed jboss.j2ee:jndiName=StatelessSessionWi
| thPooledSSL,service=EJB
| java.lang.RuntimeException: invoker is null: jboss:service=invoker,type=pooled,socketType=SSLSocketFactory,wantsClientAuth=true at org.jboss.proxy.ejb.ProxyFactory.setupInvokers(ProxyFactory.java:254)
|
| at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:238) at org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:44
| 0)
| at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:398
| )
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
|
So there seem to be other issues as well.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145946#4145946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145946
More information about the jboss-dev-forums
mailing list