Hi all!

Or this one:

-- ----------------------------------------------- Miguel Pellicer CTO at EDF Website: https://www.edf.global LinkedIn: https://www.linkedin.com/in/mpellicer-edf Office Phone: +34 - 96 381 35 75 Requesting a meeting: https://calendly.com/mpellicer -----------------------------------------------
--
You received this message because you are subscribed to the Google Groups "Sakai Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
To post to this group, send email to saka...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/sakai-dev/.
Thanks Hendrik and Sam,
Sakai 11 uses Spring Security 3.2.9, Sakai 12 uses 3.2.10, the problem I'm facing is just that, the CSRF protection is enabled by default.
Why? Because I'm using some custom 12.x changes that upgrade to
Spring security 4, that's why I'm getting this issue. I've
disabled the CSRF token and works like a charm, unfortunately, I
think this is a really bad idea in general.
Before:
| <security:http
entry-point-ref="samlEntryPoint" use-expressions="false"> <security:intercept-url pattern="/**" access="IS_AUTHENTICATED_FULLY"/> <security:custom-filter before="FIRST" ref="metadataGeneratorFilter"/> <security:custom-filter after="BASIC_AUTH_FILTER" ref="samlFilter"/> </security:http> |
After:
| <!-- Secured pages with SAML as entry
point --> <security:http entry-point-ref="samlEntryPoint" use-expressions="false"> <security:csrf disabled="true"/> <security:intercept-url pattern="/**" access="IS_AUTHENTICATED_FULLY"/> <security:custom-filter before="FIRST" ref="metadataGeneratorFilter"/> <security:custom-filter after="BASIC_AUTH_FILTER" ref="samlFilter"/> </security:http> |
This means...this is a configuration that may affect Sakai 19
SAML, fortunately, it doesn't affect 12.x
Thank you so much