Hi Peter,
I have corrected jboss.xml in CVS, the syntax for
container-configuration was incorrect. Use EJX ;-)
I hope it will work for you. I am not sure because my local copy of
JBoss is modified, little changes to security stuff.
Anyway, I'll commit my changes shortly... after I test them with
the help of ctstest :-)
Regards,
Oleg
On Monday 08 January 2001 01:24, Peter Braswell wrote:
> Oleg,
> Sorry.. it's me again.
> Okay... I've tried to follow all of the threads to
> which you've pointed me to faithfully, I think I must
> be still missing something.
>
> This afternoon I went over Edwards tutorial (which is
> pretty good as you promised) I did not want to
> implement any particular security on the server-side.
> The simple security manager is fine with me-> userId
> == password is fine for this testcase...
>
> The client has the proper interfaces implemented,
> login is as required, I've modified my jboss.xml file
> to specify a container and associated security bits...
> yet still that pesky exception!
>
> Oleg, perhaps you could take a look at my code which
> I've uploaded to CVS. I'm working on 'cts' (jbosstest
> module). The bean, client and interfaces are there as
> well as the jboss.xml file which is under /resources.
> If you get a chance....
>
> Otherwise I'm going to do a bit of work on entity
> beans....
>
> cheers, (and thanks for all your help!)
> peter
>
> --- Oleg Nitz <[EMAIL PROTECTED]> wrote:
> > Hi Peter!
> >
> > On Sunday 07 January 2001 17:16, Peter Braswell
> >
> > wrote:
> > > > 2) You started to use JAAS on client, so why do
> >
> > you
> >
> > > > switch to
> > > > non-JAAS now? Non-JAAS is not my area :-)
> > >
> > > I'm not sure what you mean here. The client
> > > instantiates an object that implements
> > > CallbackHandler(). I've got a auth.conf file on
> >
> > the
> >
> > > client side and the deployment descriptor for the
> >
> > bean
> >
> > > has the XML that you spoke of.
> >
> > I mean that the server authentication and role
> > mapping can be set in
> > two ways: with JAAS and without.
> >
> > JAAS way looks like
>
> <authentication-module>java:/java/other</authentication-module>
>
> <role-mapping-manager>java:/java/other</role-mapping-manager>
>
> > You should choose the server login module in
> > conf/default/auth.conf,
> > see comments there.
> > Also see the excellent manual by Edward Kenworthy in
>
> http://www.mail-archive.com/[email protected]/msg076
>14.html
>
> > and my initial description of JAAS stuff in
>
> http://www.mail-archive.com/[email protected]/msg041
>70.html
>
> > (however note that JNDI names have changed since
> > then).
> >
> > > > 3) Where did you place those elements?
> > > > Are they inside "container-configuration"
> >
> > elements?
> >
> > > > Does your bean reference that
> > > > "container-configuration"?
> > > > I recommend you to use EJX for editing
> >
> > jboss.xml.
> >
> > > This is a good point. I don't think my jboss.xml
> >
> > file
> >
> > > is set up right. It doesn't give any error, but
> > > neither does it seems like its working properly.
> >
> > I'll
> >
> > > try EJX.... I'll let you know.
> >
> > Well, if it is appropriate for you, you can add
> > "authentication-module" and
> > "role-mapping-manager" to each
> > "container-configuration" in
> > standardjboss.xml.
> > Alternatively, add new container configuration with
> > thin elements
> > (their names in EJX slightly differ) and set your
> > bean to use it.
> >
> > Regards,
> > Oleg
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/