Post your ejb-jar.xml and jboss.xml configs. 

----- Original Message ----- 
From: Darius Davidavicius 
To: jBoss 
Sent: Wednesday, February 14, 2001 7:24 AM
Subject: [jBoss-User] getCallerPrincipal() == null


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



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to