Class SessionExpiredFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class SessionExpiredFilter
    extends Object
    implements javax.servlet.Filter
    If the there is no session / session expired, then a new session will be created, the requested URL will be saved in that session and the user will be redirected to the EPublicView.WELCOME so they can sign in. After signing in the user is then redirected to the originally requested URL.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Constructor Detail

      • SessionExpiredFilter

        public SessionExpiredFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        IOException
        javax.servlet.ServletException