|
Re: Problem with JCIFS NTLM Authentication for HTTP Connections: msg#00086network.samba.java
On Tue, 18 Jan 2005 09:24:56 +0100, Doan, Thi-My-Chi <thi-my-chi.doan@xxxxxx> wrote: > Hi Mike, > > Sorry, the wording I used may be unclear. We have a web application, > which can be accessed > > 1) By web browser or > 2) By a Java application via servlet. > > I'm looking a way to authenticate users from both. The only way I found > is to use the login page to ask WebLogic server to authenticate the user > and to add appropriate roles, groups to that user by using my own > authentication provider. Actually, this authenticator does not need to > verify user login and password, as this already done by jCIFS filter as > soon as user accessing the login page. > > Using web browser, user has to click on the login button in the login > page, but they don't need to enter login and password. > From Java application, users has to enter their NT login and password, > which then be sent to /j_security_check. > > 1) Is it the right approach? > 2) Is it safe what I try to do? > > I think there must be a more elegant solution for that, but I couldn't > find it. > > Jason, you told you are able to ask WebLogic to authenticate user with > jCIFS. How did you do that? The filter does the authentication of the user itself so remove that login-config you have in your web.xml and just let the filter do it's job. Then I assume that whatever realms or whatever you have setup in Weblogic will use the Request.getRemoteUser that is set by the filter. I think you are just trying to over complicate things. I don't know how it would work accessing your servlet from your client application though as I haven't had much experience on the client side of Java. Regards, -- Jason Bainbridge KDE - Conquer Your Desktop - http://kde.org KDE Web Team - webmaster@kde |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Let ntlm filter search in different domains: 00086, José Antonio |
|---|---|
| Next by Date: | Re: Bug in jcifs.netbios.NameServiceClient: 00086, Steve Herndon |
| Previous by Thread: | RE: Problem with JCIFS NTLM Authentication for HTTP Connectionsi: 00086, Doan, Thi-My-Chi |
| Next by Thread: | RE: Problem with JCIFS NTLM Authentication for HTTP Connections: 00086, Michael B Allen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |