thanks for the quick answer

we use jasig with maven overlay to create our own apps

the only config I find with intercept-url is this

 <sec:authentication-manager />

  <sec:http pattern="/status/**" entry-point-ref="notAuthorizedEntryPoint" 
use-expressions="true" auto-config="true">
    <sec:intercept-url pattern="/status" 
access="hasIpAddress('${cas.securityContext.status.allowedSubnet}')" />
  </sec:http>

  <sec:http pattern="/statistics/**" 
entry-point-ref="notAuthorizedEntryPoint" use-expressions="true" 
auto-config="true">
    <sec:intercept-url pattern="/statistics" 
access="hasIpAddress('${cas.securityContext.status.allowedSubnet}')" />
  </sec:http>

  <bean id="notAuthorizedEntryPoint" 
class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint"
 
/>

but I don't think its the config I need to change. Is it ? We I get 
redirected, my url never contains either /status or /statistics ...

thanks again

Le vendredi 21 novembre 2014 13:18:26 UTC-5, Christian Lévesque a écrit :
>
> Hi guys, I'm trying to add a resource like this in my config
>
>   <mvc:resources mapping="/webjars/**" location="classpath:/" />
>
>
> but each time I try to test it, I get redirected to the login page. How to 
> exlude path in jasig ?
>
> thanks !
>
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to