Results 1 to 4 of 4

Thread: Combined usage of AuthenticationProcessingFilter and RequestHeaderPreAuthenticatedPro

  1. #1
    Join Date
    Dec 2004
    Location
    Buenos Aires, Argentina
    Posts
    73

    Default Combined usage of AuthenticationProcessingFilter and RequestHeaderPreAuthenticatedPro

    Luke,

    We deploy our application in an environment where our users might come Pre authenticated by Siteminder or they might just hit our server with "no man in the middle", therefore we need plain old DAO based authentication.

    Browsing the samples I did find a preauth example using j2eePreAuthFilter but I was not able to find config files for a mixed environment.

    Would you share a sample config how we could do this? Also adding that to documentation might help other users.

    Thanks in advance,

    Gustavo Faerman
    Buenos Aires, Argentina
    skype: gfaerman

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    There is an issue in Jira to add information on preauthenticated scenarios to the docs.

    Do you have some kind of protection in place to stop a non-siteminder user from faking the siteminder header?

  3. #3
    Join Date
    Dec 2004
    Location
    Buenos Aires, Argentina
    Posts
    73

    Default

    Thanks a lot Luke for your quick reply.

    No I do not have at the time of this writing.

    At a first glance my thinking is we should not allow both authentication strategies in the same box enabled at the same time. And in the case where we deploy the same web app but to different scenarios have the installer make a last minute config to security context files depending on the scenario (using the pre auth filter or not).


    Do you have any suggestions?
    skype: gfaerman

  4. #4
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    I think it is probably risky to run siteminder in a situation where it isn't protecting the whole application. Otherwise you would have to rely on some upstream mechanism (e.g. an Apache server) to warn of requests coming in with the siteminder header set by an attacker.

Posting Permissions

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