Announcement Announcement Module
Collapse
No announcement yet.
logout w/ WebSpherePreAuth Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Please search the forum, issue tracker and web. This is a common problem with websphere and has been discussed before.

    Comment


    • #3
      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

      Comment


      • #4
        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).

        Comment


        • #5
          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

          Comment


          • #6
            solved

            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.

            Comment

            Working...
            X