Class LogoutSupport


  • public class LogoutSupport
    extends Object
    This class logs out the currently logged in user.
    • Method Detail

      • logout

        public static void logout​(@NotNull
                                  @NotNull javax.servlet.ServletRequest servletRequest,
                                  @Nullable
                                  @Nullable javax.servlet.ServletResponse servletResponse)
                           throws Exception
        Throws:
        Exception
      • getLogoutUrl

        @Nullable
        public static @Nullable String getLogoutUrl​(String baseUrl,
                                                    javax.servlet.http.HttpServletRequest request)
      • getCompleteUrlString

        public static String getCompleteUrlString​(String partialUrl,
                                                  javax.servlet.http.HttpServletRequest request)