public class SeraphUtils
extends java.lang.Object
Constructor and Description |
---|
SeraphUtils() |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.seraph.config.SecurityConfig |
getConfig(javax.servlet.http.HttpServletRequest request) |
static java.lang.String |
getLinkLoginURL(javax.servlet.http.HttpServletRequest request)
Get a login URL with the original request appended as the os_destination.
|
static java.lang.String |
getLinkLoginURL(javax.servlet.http.HttpServletRequest request,
java.lang.String username)
Get a login URL and append the given username so that it can be filled into the form if default login mechanism is used.
|
static java.lang.String |
getLinkLoginURLAndStripContextPath(javax.servlet.http.HttpServletRequest request) |
static java.lang.String |
getLoginURL(javax.servlet.http.HttpServletRequest request) |
static java.lang.String |
getOriginalURL(javax.servlet.http.HttpServletRequest request) |
public static java.lang.String getLoginURL(javax.servlet.http.HttpServletRequest request)
public static java.lang.String getLinkLoginURL(javax.servlet.http.HttpServletRequest request, java.lang.String username)
request
- username
- getLinkLoginURL(HttpServletRequest)
public static java.lang.String getLinkLoginURL(javax.servlet.http.HttpServletRequest request)
request
- public static java.lang.String getLinkLoginURLAndStripContextPath(javax.servlet.http.HttpServletRequest request)
public static java.lang.String getOriginalURL(javax.servlet.http.HttpServletRequest request)
public static com.atlassian.seraph.config.SecurityConfig getConfig(javax.servlet.http.HttpServletRequest request)
Copyright © 2003-2014 Atlassian. All Rights Reserved.