I am testing a project on Jboss 4.0.3sp1, that currently runs ok on jboss 3.2.6

The problem is that SecurityAssociation.getSubject() returns null in a 
stateless ejb when running on jboss 4.0.3 sp1.
I am runing without a securitymanager.

I think the problem is the changes in the 1.52 (1.46.4.7) revision in 
jboss/ejb/plugins/SecurityInterceptor.java, checkSecurityAssociation method
The change to use pushSubjectContext, always pushes a null as subject.

I am using subject.getPublicCredentials() to retrieve some extra information, 
the loginmodule stores.

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to