Hello,

I have downloaded the last source from VCS.
I have the same problem i had few weeks ago.
I do calling session bean and from the session bean i do calling entity bean.
In the session bean callerPrincipal name is corrent but in the entity bean it is NULL.

Few week ago i was using such work around:

org.jboss.security.SecurityAssociation.setPrincipal( )

public void setPrincipal( Principal principal ){
this.principal = principal;
this.beanPrincipal = null;
SecurityAssociation.setPrincipal(principal);
}

any sugestions why it happens?
i do using default Jboss configuration.


Darius Davidavicius

Reply via email to