|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpFormAuthFilter
An interface to FORM BASED authentication as described in the Servlet API Specification Version 2.3.
Based on Authenticator in the Apache Jakarta Tomcat
project.
| Field Summary | |
|---|---|
static String |
FORM_AUTH
Form authentication. |
| Method Summary | |
|---|---|
int |
getLoginAge()
Gets the max age of the login. |
String |
getLoginFlow()
Gets the login flow. |
String |
getLoginHost()
Gets the login host. |
String |
getLoginPipe()
Gets the login pipe. |
String |
getLoginService()
Gets the login service. |
String |
getLoginTemplate()
Gets the login template. |
String |
getLoginURI()
Gets the login URI. |
StringBuilder |
getLoginURL(HttpServletRequest request,
HttpServletResponse response,
FilterChain chain)
Gets the login URL, with the scheme, host and port if required, for the specified request. |
boolean |
isSecure()
Checks whether authentication should apply a secure connection. |
void |
setLoginAge(int secs)
Sets the max age of the login. |
void |
setLoginFlow(String flow)
Sets the login flow. |
void |
setLoginHost(String host)
Sets the login host. |
void |
setLoginPipe(String pipe)
Sets the login pipe. |
void |
setLoginService(String service)
Sets the login service. |
void |
setLoginTemplate(String template)
Sets the login template. |
void |
setLoginURI(String uri)
Sets the login URI. |
void |
setSecure(boolean flag)
Sets whether authentication should apply a secure connection. |
| Methods inherited from interface javax.servlet.Filter |
|---|
destroy, doFilter, init |
| Field Detail |
|---|
static final String FORM_AUTH
| Method Detail |
|---|
boolean isSecure()
void setSecure(boolean flag)
flag - true for a secure authentication, false otherwise.int getLoginAge()
void setLoginAge(int secs)
secs - the age in seconds.String getLoginURI()
void setLoginURI(String uri)
uri - the login URI.String getLoginHost()
void setLoginHost(String host)
host - the login host.String getLoginService()
void setLoginService(String service)
service - the login service.String getLoginPipe()
void setLoginPipe(String pipe)
pipe - the login pipe.String getLoginFlow()
void setLoginFlow(String flow)
flow - the login flow.String getLoginTemplate()
void setLoginTemplate(String template)
template - the login template.
StringBuilder getLoginURL(HttpServletRequest request,
HttpServletResponse response,
FilterChain chain)
request - the request.response - the response.chain - the filter chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||