use permitAll via HttpSecurity#authorizeHttpRequests

295 views
Skip to first unread message

Noelette Stout

unread,
Aug 30, 2022, 12:29:46 PM8/30/22
to CAS Community
I just installed 6.6.0-RC5, and I am seeing a number of messages similar to this in the log:

WARN [org.springframework.security.config.annotation.web.builders.WebSecurity] - <You are asking Spring Security to ignore Ant [pattern='/validate/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.>

Where do I find the setting for this? 

Thanks,
Noelette

lanf detroy

unread,
Oct 25, 2022, 8:58:20 AM10/25/22
to CAS Community, stou...@isu.edu
Hello,

did you find the solution? I have the same warnings

Noelette Stout

unread,
Oct 25, 2022, 9:02:58 AM10/25/22
to lanf detroy, CAS Community
Unfortunately, I have not found a solution to this. I upgraded to 6.6.0 when it was released, but the warnings are still there. I'm not even sure where to look to fix it. It doesn't seem to be affecting anything functionally; it just creates a bunch of logging on startup.
--
Noelette Stout
ITS Enterprise Applications - Senior Application Administrator 
Idaho State University 
E-mail: stounoel "at" isu "dot" edu  
Desk: 208-282-2554

Jérôme LELEU

unread,
Oct 25, 2022, 9:41:11 AM10/25/22
to cas-...@apereo.org, lanf detroy
Hi,

This is not a big problem, just warnings. You can't fix it by settings.
I will fix that in the source code.
Thanks.
Best regards,
Jérôme


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAC3gc2Ek5S6Rbv2CUp5bKoRhYGeY-Je%2BrkvQyuPpDyAMOUBudw%40mail.gmail.com.

Noelette Stout

unread,
Oct 25, 2022, 9:49:02 AM10/25/22
to cas-...@apereo.org, lanf detroy
Thanks!

You received this message because you are subscribed to a topic in the Google Groups "CAS Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/apereo.org/d/topic/cas-user/34PmxGJJCWU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LwJTvj0oK29obe3d7dNPEj4WhF39cKtmEwfSbDaHZhThQ%40mail.gmail.com.

Jérôme LELEU

unread,
Oct 25, 2022, 10:50:19 AM10/25/22
to cas-...@apereo.org, lanf detroy
Reply all
Reply to author
Forward
0 new messages