Adam,

Thanks for your reply.

I was able to write my own LoginModule. It does the authentication for the
user, by using Slide data store. 

But after successful login, I am not able to see directory present under my
default namespace i.e. slide.
Also even if the user is "root", I can not create directory under default
namespace.

I think, I am not passing correct principals / roles to slide. Any pointers
what I might be
doing wrong ?

Thanks.
-Kalpesh.

-----Original Message-----
From: Adam James Fitzpatrick [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 4:44 PM
To: Slide Users Mailing List
Subject: Re: JBOSS and Slide.


Shah, Kalpesh wrote:

>I am using JBOSS 3.0. I found that there is a way in JBOSS in which you can
>override the 
>default login module.

>Since I am relatively new to slide, can you point me is there any standard
>API in slide by which we can retrieve the user id and password ?

The password is stored as a property, so you just need to retrieve the
NodeRevisionDescriptor for the user node, and get the property
(the property name is "password", and the namespace is the Slide namespace
NodeProperty.SLIDE_NAMESPACE).

Assuming authentication works the same way in JBoss 3.0, the getIdentity()
method of the login module class returns the user name.

-- 
Adam Fitzpatrick

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to