Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #46
    Logout

    The Logout functionality is not working. Could you please let us know the complete configuration file and how to enable the logout?.
    Last edited by nainy; 11 Sep 2012, 23:54.

    Comment


      #47
      What about standalone logout page?

      Code:
      <%@ page contentType="text/html;charset=UTF-8" language="java" %>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
      
      <%
          if (request.getSession(false) != null)
          {
              session.invalidate();
          }
      %>
      
      <c:redirect url="/"/>

      Comment


        #48
        Hi, I know hanishi's example has been uploaded. I saw it somewhere weeks ago. But now I cannot find the link any more. Can somebody show me the link to the example? I really need the whole project.


        Thanks

        Comment


          #49
          callback not working

          Hi Hanishi,

          Thanks for your post. I tried implementing your solution for session timeout functionality in our application. But the loginrequired callback is not getting invoked. Also its not displaying any logger statements given in AuthenticationEntryPoint class. Why is this so ? Can you please help ?

          Comment


            #50
            Small updates are required to this solution to work with Spring 4 - see this post.

            Comment

            Working...
            X