Interface LogoutProcessor


  • public interface LogoutProcessor
    Performs a logout, including logout of additional session participants, in case of logout initiated directly in Unity.
    Author:
    K. Benedyczak
    • Method Detail

      • handleAsyncLogout

        void handleAsyncLogout​(LoginSession session,
                               String relayState,
                               String returnUrl,
                               javax.servlet.http.HttpServletResponse response)
                        throws IOException
        Performs async logout of SAML peers attached to the current login session. It is assumed that the logout itself was not initiated with SAML. After the full logout the browser is redirected to a given return URL with relayState given as parameter. The login session itself is not terminated here.
        Parameters:
        relayState -
        response -
        returnUrl -
        Throws:
        IOException
      • handleSynchronousLogout

        boolean handleSynchronousLogout​(LoginSession session)
        Performs sync logout of SAML peers attached to the current login session. It is assumed that the logout itself was not initiated with SAML. The login session itself is not terminated here.
        Returns:
        if all participants were logged out