Threads inside of JBoss accessing EJBs are no different than any other client.
You have to login to allow the security policy associated with the EJB
security domain to authenticate the access.
----- Original Message -----
From: "Tim Taylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 6:11 PM
Subject: [JBoss-user] JAAS intraserver login/principal
> I've written an MBean service that needs to access a session bean, but I
> get the following message:
>
> [boService] Authentication exception, principal=null
>
> The MBean service has not logged in to JBoss, so it has no principal.
> How does one handle the case where threads inside the server need to run
> as some privileged user in order to access secured resources?
>
> Tim Taylor
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user