So, after the user entered the username and password and clicked ok button, at this 
point is the WebdavServlet invoked?  If not, then how does the server check for the 
authentication?

-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: April 13, 2001 3:15 PM
To: [EMAIL PROTECTED]
Subject: Re: servlet and authentication


> The reason that I have to implement the authentication servlet is because
my users' information are storing in Oracle database and not in Domain.xml.
What I am trying to do is that when the user enter the username/password, I
will the read in these information and validate them against my database.
If the information is correct, then I will send a response back to the
client.  Is this possible for Slide?
>

No, unless you use facades for the request object.
Slide uses Request.getUserPrincipal to get the authenticated principal.

The best way to do what you want to do is to implement (or reuse) a realm
adapted to the servlet container. For example, both TC 3 and 4 have a
JDBCRealm you can use with Oracle.

Remy

Reply via email to