Package com.atlassian.bamboo.security
Class LogoutSupport
- java.lang.Object
-
- com.atlassian.bamboo.security.LogoutSupport
-
public class LogoutSupport extends Object
This class logs out the currently logged in user.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getCompleteUrlString(String partialUrl, javax.servlet.http.HttpServletRequest request)
static @Nullable String
getLogoutUrl(String baseUrl, javax.servlet.http.HttpServletRequest request)
static void
logout(@NotNull javax.servlet.ServletRequest servletRequest, @Nullable javax.servlet.ServletResponse servletResponse)
-
-
-
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)
-
-