Ken,
This looks like a bit more comprehensive look at one
of the link Oleg has sent me...
I'll look at what you sent me in a bit more detail
tonight when I get home.
The ultimate goal for me is to simply to have a
working call to getCallerPrincipal(), which has
elluded me thus far. I'm sure it's something silly
I'm doing... usually is ;-)
Thanks everyone for your help, I'll keep plugging away
at it...
cheers,
peter
--- "Kenworthy, Edward"
<[EMAIL PROTECTED]> wrote:
> Hi Peter
>
> Have a look at this:
>
>
http://www.mail-archive.com/[email protected]/msg07614.html
>
> It's a compendium of information from various
> people, including Oleg, plus
> what I discovered for myself from reading the source
> code and various JAAS
> references and also a simple implementation of the
> two classes you need
> (ClientLoginModule and ServerLoginModule).
>
> I know it works, because I have it running on my
> machine.
>
> Edward
>
> PS
>
> There are two minor errors, which Oleg points out in
> a response, but the
> tutorial is still sound.
>
> -----Original Message-----
> From: Peter Braswell
> [mailto:[EMAIL PROTECTED]]
> Sent: 07 January 2001 15:17
> To: jBoss Developer
> Subject: Re: [jBoss-Dev] getCallerPrincipal(),
> Atten: Oleg
>
>
> Hi Oleg!
>
>
> > 1) Why did you add additional line breaks? I am
> not
> > sure that that it
> > the same as
>
> I added additional line breaks in my e-mail only.
> The
> jboss.xml has none.
>
> >
> > 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.
>
>
> > 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.
>
> thanks again,
> peter
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/