An interceptor has been added that intercepts these
requests and reroutes the user to a specific page if the time is not
between 9 a.m. and 6 p.m.</para>
@ -1718,7 +1721,7 @@ public class TimeBasedAccessInterceptor extends HandlerInterceptorAdapter {
@@ -1718,7 +1721,7 @@ public class TimeBasedAccessInterceptor extends HandlerInterceptorAdapter {
}
}</programlisting>
<para>Any request coming in is intercepted by the
<para>Any request handled by this mapping is intercepted by the
<classname>TimeBasedAccessInterceptor</classname>. If the current time
is outside office hours, the user is redirected to a static HTML file
that says, for example, you can only access the website during office