| Modifier and Type | Field and Description |
|---|---|
static String |
AJAX_DENIED |
static String |
LOGIN |
static String |
URL_KEY |
| Constructor and Description |
|---|
AuthenticationFilter()
Creates a new authentication filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed.
|
String |
filter(InvocationChain chain)
Executes the filter.
|
static void |
setCallbackUrl(javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletRequest req)
Sets a callback url for a redirection after the login.
|
public static final String LOGIN
public static final String AJAX_DENIED
public static final String URL_KEY
public AuthenticationFilter()
public String filter(InvocationChain chain) throws Exception
Filterpublic static void setCallbackUrl(javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletRequest req)
session - The HttpSession where to put the URL.req - The HttpServletRequest from where to get the URL.public void destroy()
FilterCopyright © 2015. All Rights Reserved.