Results 1 to 4 of 4

Thread: Securing multiple war files

  1. #1
    Join Date
    Mar 2005
    Posts
    5

    Default Securing multiple war files

    Hi,

    I am trying to use Acegi framework to secure a number of web applications (war files).
    Basically, I would have a localhost configuraiton on Tomcat, which would contain a login page and WEB-INF with all the
    acegi configurations. Inside this localhost folder, I would have the various war files.

    Assume I have applications AppA and AppB.
    If I try to access AppA, without authenticating into the main localhost, I shouldn't be able to do it.
    But, as of now it allows me to do it.
    Could you please help me out with this.

    Thanks
    Arun

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I am a little confused by your question.

    Generally if you have more than one WAR involved, and you want automatic login between different WARs, your options are:

    * Forget Acegi Security and use container single sign on support
    * Use Acegi Security with Basic authentication (same realm names across all WARs)
    * Use Acegi Security with CAS (definitely the recommended approach)

  3. #3
    Join Date
    Mar 2005
    Posts
    5

    Default

    Thanks.

    Your second suggestion is to use Acegi with Basic Authentication, so does that mean that I cannot have form authentication? The reference doc says that form authentication is fully contained within a web application

    (I apologize if I am asking dumb questions. I am completely new to the world of security as such).

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Yes, BASIC authentication is implemented by the user agent (generally a browser like Internet Explorer will present its own dialogue box).

    If you need a scalable, form-based single sign on solution, CAS is your best bet. Also, JOSSO is another choice in the open source SSO space, although Acegi Security doesn't have an integration option at present. You can easily write one, though, basing it on our CAS integration. If you just want something that works today, CAS is your best bet.

Similar Threads

  1. Replies: 6
    Last Post: Sep 1st, 2005, 09:18 AM
  2. Replies: 7
    Last Post: Jul 26th, 2005, 02:48 PM
  3. Unexpected behaviour with multiple config files
    By rgitzel in forum Container
    Replies: 7
    Last Post: Mar 8th, 2005, 07:11 PM
  4. Multiple XML files for a BeanFactory?
    By rhasselbaum in forum Container
    Replies: 9
    Last Post: Nov 20th, 2004, 03:34 PM
  5. Replies: 0
    Last Post: Nov 3rd, 2004, 05:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •