Ok,Then you can try this.
Make a class and invoke a method of this class,example
VerifyLogin(String uname,String pwd);
In this method ,seek a connection to your ldap server using the username and
password just received by specifying environment properties.

If you are able to get it's directory context,then connection is
successful.In that case you can return the name of the JSP,where you want to
forward it,and if not authenticated,then you can return name of an Error
jsp.

Hope this help.

Raj S



>From: Mutahar Qayum <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Urgent!! RE: Supress LDAP Authentication
>Date: Thu, 21 Sep 2000 09:51:31 -0700
>
>Yes, we need to authenticate user, we dont want to show ugly ldap dialog. I
>have made a page to get
>user/pass from user. then we need it to be verified from ldap.
>
>-----Original Message-----
>From: Raj S [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, September 20, 2000 10:51 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Urgent!! RE: Supress LDAP Authentication
>
>
>I am too sure but I may be able to help you.
>I just need to clarify a few things.If I have understood your
>requirements,do u need to authenticate the user at the backend and then
>display next page,according to authentication or else maybe an error page
>or
>prompt the user to enter username and password .
>
>
>
>
> >-----Original Message-----
> >From: Mutahar Qayum [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, September 20, 2000 11:34 AM
> >To: [EMAIL PROTECTED]
> >Subject: Supress LDAP Authentication
> >
> >
> >Hi,
> >
> >I want some information for suppressing the login dialog box that comes
> >when
> >anyone open a site.
> >I will be developing a page to get userid/password from user, and want it
> >to
> >be directly authenticated without displaying the
> >userid/password dialog.
> >
> >
> >thanks
> >MQ
> >
> >===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to