org.exoplatform.platform.welcomescreens.web
Class TermsAndConditionsFilter
java.lang.Object
org.exoplatform.platform.welcomescreens.web.TermsAndConditionsFilter
- All Implemented Interfaces:
- org.exoplatform.web.filter.Filter
public class TermsAndConditionsFilter
- extends Object
- implements org.exoplatform.web.filter.Filter
Filter responsible of Terms and conditions displaying.
Call T&C service to know if T&C are checked, if not, forward to T&C page
2 conditions to forward to termes and conditions page:
- Request URI is not a login URI. In this case we need to execute T&C process after login process
- T&C is not checked
- Author:
- Clement
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermsAndConditionsFilter
public TermsAndConditionsFilter()
getTermsAndConditionsService
public TermsAndConditionsService getTermsAndConditionsService()
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter in interface org.exoplatform.web.filter.Filter
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.