Hello,

I am in the process of upgrading from Jboss 4.0.1sp1 to Jboss 4.0.2 and it 
appears that the security identity propagation from the web to ejb container no 
longer works.  

I have a web application utilizing JAAS (form based authentication, 
DatabaseServerLoginModule), EJBs and Struts. 

Please note: I am use the same ear file in Jboss 4.0.1sp1 and Jboss 4.0.2.

Jboss 4.0.1sp1 
-----------------------------
1) User enters principalId and password on login page and submits (j_username 
and j_password posted to j_security_check)
2) The web container succesfully authenticates the user
3) A session bean is created PartyManagerHome.create()
4) PartyManager is used successfully.

Jboss 4.0.2 
--------------------------
1) User enters principalId and password on login page and submits (j_username 
and j_password posted to j_security_check)
2) The web container succesfully authenticates the user
3) Create call on session bean PartyManagerHome.create() throws an exception 

javax.ejb.EJBException: Invalid invocation, check your deployment packaging, 
method=public abstract com.acme.party.interfaces.PartyManager 
com.acme.party.interfaces.PartyManagerHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
  |     at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:161)

I believe the security identity isn't being propagated as it was in Jboss 
4.0.1sp1, since the same ear file is used in both cases.  

Has anyone else run into this problem?  
  | Any Suggestions?  
  | Are there any additional security related attributes that must be 
configured for Jboss 4.0.2?
  | 
  | Thanks.
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to