uk.ac.soton.itinnovation.grid.utils
Class HttpsFilter
java.lang.Object
uk.ac.soton.itinnovation.grid.utils.HttpsFilter
- All Implemented Interfaces:
- Filter
public class HttpsFilter
- extends Object
- implements Filter
Fitler class to prevent unsecure connections to the web application configured to work with this filter.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpsFilter
public HttpsFilter()
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws ServletException
- Forward client requests to secure web applications only.
https requests are forwarded to the next filter in the chain
or a web application whichever is the next in the chain.
- Specified by:
doFilter in interface Filter
- Parameters:
request - response - chain -
- Throws:
ServletException
init
public void init(FilterConfig config)
- Specified by:
init in interface Filter
destroy
public void destroy()
- Specified by:
destroy in interface Filter
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.