Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not very sure about what you are asking, but here we go:<br> I assume you are protecting some private urls by means of spring security, for example:</p> <pre class="lang-xml prettyprint-override"><code>&lt;security:http use-expressions="true"&gt; &lt;!-- ...more configuration stuff --&gt; &lt;security:intercept-url pattern="/private/*" access="isFullyAuthenticated()" /&gt; &lt;!-- ...more configuration stuff --&gt; &lt;security:logout invalidate-session="true" logout-url="/logout" logout-success-url="/yourUrlAfterLogout.html"/&gt; &lt;/security:http&gt; </code></pre> <p>Then, when user logs out, he can't access private urls anymore.<br> (<strong>UPDATE</strong>: End of Spring Security part)</p> <p>If you want to prevent user accessing these protected pages when he press back button in the navigator or copy the private url, you can configure <a href="http://static.springsource.org/spring/docs/3.0.x/api/org/springframework/web/servlet/mvc/WebContentInterceptor.html" rel="nofollow">WebContentInterceptor</a> as follows: </p> <pre class="lang-xml prettyprint-override"><code>&lt;mvc:interceptors&gt; &lt;bean id="webContentInterceptor" class="org.springframework.web.servlet.mvc.WebContentInterceptor"&gt; &lt;property name="cacheSeconds" value="-1" /&gt; &lt;property name="useExpiresHeader" value="true" /&gt; &lt;property name="useCacheControlHeader" value="true" /&gt; &lt;property name="useCacheControlNoStore" value="true" /&gt; &lt;/bean&gt; &lt;/mvc:interceptors&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload