Results 1 to 6 of 6

Thread: logout w/ WebSpherePreAuth

  1. #1
    Join Date
    Sep 2004
    Location
    Szeged, Hungary
    Posts
    29

    Question logout w/ WebSpherePreAuth

    Hi,
    I've configured websphere preAuthenticationFilter successfully on a WAS 6.1.0.15. I configured basic authentication in web.xml that validates against a WebSphere custom UserRegistry.

    My question is that if I enable logoutFilter
    Code:
    <security:http>
    ...
    <security:logout />
    ...
    </security:http>
    and invoke:
    Code:
    <a href="${ctx}/j_spring_security_logout">Logout</a>
    I get a
    Code:
    java.io.FileNotFoundException: /j_spring_security_logout
    Is it possible to logout when using preAuthentication?

    Thanks for help.
    Regards,
    Thomas

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

    Default

    Please search the forum, issue tracker and web. This is a common problem with websphere and has been discussed before.

  3. #3
    Join Date
    Sep 2004
    Location
    Szeged, Hungary
    Posts
    29

    Default

    Quote Originally Posted by Luke Taylor View Post
    Please search the forum, issue tracker and web. This is a common problem with websphere and has been discussed before.
    I've already done, just before I've posted my question. The closest thing I've found was this, but it is not related to the logoutFilter, and especially not when running the latest WebSphere patch (6.1.0.15). You'll see there's form-login by spring security, and not basic login from web.xml (no preauth at all).
    Please point me some URLs to check.
    Thanks,
    Thomas

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

    Default

    The login mechanism shouldn't be relevant. The question is basically can you browse to a URL which is handled by a filter and from what you've posted that looks pretty much the same as the other threads on websphere (usually the complaint is about the login URL but that isn't relevant here, since you are already logged in).

  5. #5

    Default

    Quote Originally Posted by tsandor View Post
    I've already done, just before I've posted my question. The closest thing I've found was this, but it is not related to the logoutFilter, and especially not when running the latest WebSphere patch (6.1.0.15). You'll see there's form-login by spring security, and not basic login from web.xml (no preauth at all).
    Please point me some URLs to check.
    Thanks,
    Thomas
    even whith last fix for WAS 6.1 you still need to define invokefilterscompatibility property in WAS
    see this fix from IBM
    http://www-1.ibm.com/support/docview...id=swg24014758
    and this post http://forum.springframework.org/showthread.php?t=34106

  6. #6
    Join Date
    Sep 2004
    Location
    Szeged, Hungary
    Posts
    29

    Smile solved

    Quote Originally Posted by usama_ra1 View Post
    even whith last fix for WAS 6.1 you still need to define invokefilterscompatibility property in WAS
    see this fix from IBM
    http://www-1.ibm.com/support/docview...id=swg24014758
    and this post http://forum.springframework.org/showthread.php?t=34106
    Thank you very much for this help. It works now.

Tags for this Thread

Posting Permissions

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