• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help needed! regarding Global Security settings and Virtual hosts

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Raghava Prasad:

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?


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!
 
Raghava Prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic