Eduix / crowd-shibboleth-module

Shibboleth authentication module and accompanying plugin for Atlassian Crowd
12 stars 11 forks source link

Users w/ Special Characters on Their Names causing errors on Crowd #14

Open WFerreira79 opened 4 months ago

WFerreira79 commented 4 months ago

Hello all. I am facing a weird issue in an environment that uses CAFe+Shibboleth+Crowd. This environment works like a charm for almost all users, but that ones that have special characters in their names as, for example, "José", "Ítalo", etc.

I did talk to Atlassian, and they said it happens due to this class - https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/web/firewall/StrictHttpFirewall.html .

The fact is that this is not clear to me. Should I change anything on Shibboleth implementation?

If you can help, I will be grateful.

Best regards,

Wagner Ferreira wagner.ferreira@e-core.com

c-koell commented 3 months ago

Hi @WFerreira79 We had the same problem with umlauts. We have configured the DefaultHttpFirewall in /opt/atlassian/atlassian-crowd-x.x.x/crowd-webapp/WEB-INF/classes/applicationContext-CrowdSecurity.xml

<bean id="customHttpFirewall" class="org.springframework.security.web.firewall.DefaultHttpFirewall">
</bean>

<security:http-firewall ref="customHttpFirewall" />

Then you have no more problems ..