I believe Weblogic uses a default principal if one has not been passed in. JBoss
does not. What is name of the principal returned by Weblogic when you
invoke getCallerPrincipal() when there is no authenticated user?
We need to add a similar notion that allows one to set a default principal to
use for unauthenticated access. I'll add this to the new 2.4 beta which is
coming out tonight.
----- Original Message -----
From: "Scott Bermon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 5:01 PM
Subject: [JBoss-user] Will JBoss work with a NULL Principal?
> I seemed to have reached a stopping block on migrating from Weblogic to
> JBoss.
>
> Our current code base does not provide a Principal / Credential when
> creating an InitialContext. As a result, when I try to create an EJB, JBoss
> always returns:
>
> 'No security context set'
>
> and then throws an exception.
>
> I would guess that in Weblogic, if an InitialContext is created without a
> Principal, then it may either assume that the user is the system, or maybe
> it just processes null Principals differently....?
>
> I've tried removing the JAAS MLET from jboss.jcml; commenting out the
> SecurityInterceptors in standardjboss.xml; but I still get the same message.
>
> Is there an easy way around this?
>
> Thanks
>
> -Scott
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user