Raghava Prasad

Greenhorn
+ Follow
since Feb 05, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Raghava Prasad

Hi all,
I really need your help now, please respond if you can give me some direction,
I have setup a IBM WAS 5.0 server with Domino 5 LDAP as the Authentication registry. So the current situation is I am able to authenticate against an LDAP registry, any user accessing a secure resource in a prototype application (say, App1).I am using Form-based Login/Logout. Say the url for the app is "http://www.xyz.com/*.jsp".
I have setup a virtual host on the same server www.abc.com and regenerated the plugins to reroute requests accordingly.
I also have installed an application App2 and everything seems to be working fine, since I am able to access any resource which is not secured.
BUT
When I try to access a secured resource, the login form is shown and when I submiot the form, after entering the username and password, instead of taking me to the resource it throws me back to the login form. There are no errors anywhere.
My questions are:
1. Is it ok to have multiple domains on WAS
2. Is it ok to use the same LDAP directory to authenticate users in the two domains
3. if yes, what is that I am doing wrong
4. if no, what is that I need to do, get security working for both the domains.
I would be glad if any of you can give some answers and/or put me on the
right track, if you feel I am doing something unrealistic...
Thanks in advance.
17 years ago

Originally posted by David Hibbs:

That's a heck of a beginner's question.
I can't answer #1, but #2 depends on how you use LDAP, what you put in it, etc. I would think that you can do it without a problem.
My only warning is to beware configuring virtual hosts. There's a "feature" (according to IBM) where, by default, you cannot specify a JSP as a welcome page on a web app located at a root of / on a virtual host. You can override this though by adding a SimpleFileServlet to your web app.
Good luck!


David,
Thanks for replying to my post, LDAP is being used only for Basic Authentication(as of now), (may be LDAP based roles in the future)
I did not know about the feature you told me, I am using index.jsp as the Welcome Page and it seems to be working ok. I dont remember adding a SimpleFileServlet, but thanx for bringing it up, I will keep a tab on it.
Please post a reply if you come across any other information in this forum or anywhere.
Thanks
17 years ago
Hi all,
This is more a beginners question, so pardon me if I am not being lucid.
I have setup a IBM WAS 5.0 server with Domino 5 LDAP as the Authentication registry. So the current situation is I am able to authenticate against an LDAP registry, any user accessing a secure resource in a prototype application (say, App1).I am using Form-based Login/Logout. Say the url for the app is "http://www.xyz.com/*.jsp";
Now I want to setup a virtual host on the same server where I would like to host another prototype application(say, App2) and I want the URL to be say, "http://www.abc.com/*.jsp".
The reason for virtual hosts is to make the user visit two different locations for accessing these two apps.....(duh..?)
App1 and App2 dont have anything in common as far as the functionality goes, but I would like to use the same LDAP registry for authentication.
Here are my questions:
1. Will the Global security settings work for both the virtual hosts and applications
2. Is the LDAP authentication domain dependant?
I would be glad if any of you can give some answers and/or put me on the right track, if you feel I am doing something unrealistic...
Thanks in advance.
17 years ago