Tobias Seelinger wrote:
> 
> Does Jonas 2.0 support java.security.Principal ? It seems not to work
> because getCallerPrincipal() returns Null.
> 
> I have tried to pass the name of the current user and/or the current
> language from a Session Bean to an Entity Bean. The Entity Bean is a BMP
> Bean and creates a SQL Query dependent on the language. I don't want to
> use parameters in my Business Methods for the language/user name. So I
> want to transmit these attributes via the EJBContext. According to the
> EJB Specification this should be possible with java.security.Principal.
> 
> Has someone a better idea how to solve this ?
> 
> regards,
> 
> Tobias Seelinger
        Hi Tobias,

getCallerPrincipal(), isCallerInRole(), and all other security features
will be implemented in a next version of JOnAS. This requires to defines
what is a Principal, what is the security Context we must pass between
JVMs, how roles are mapped, etc...
You will have to wait for JOnAS 2.1 or 2.2 to get these security
features.
Sorry about that!

        Philippe
-- 
Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]  http://www-frec.bull.com
-> Download our EJBServer at http://www.bullsoft.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to