« Back

Necessary SiteMinder Configuration...

Technical Blogs September 8, 2017 By David H Nebinger

A quick note for those using SiteMinder and Liferay...

Liferay likes the Tilde (~) character, and uses it quite often for friendly URLs and other reasons.

When fronting with SiteMinder, though, you may run into return code 500 for URLs with the tilde character in them.

This is actually a default SiteMinder configuration thing, SiteMinder treats tilde (and others) as "bad characters" and will return a 500 when they are found.

The default SiteMinder configuration has this setting:

BadUrlChars       //,./,/.,/*,*.,~,\,%00-%1f,%7f-%ff,%25

You want to override the default configuration to allow the tilde character:

BadUrlChars       //,./,/.,/*,*.,\,%00-%1f,%7f-%ff,%25

After making this change, restart the daemons and you should be back in business.

Threaded Replies Author Date
This is a great nugget of information, thanks... Ethan Knepp September 8, 2017 7:26 AM
Hi David, Do you have any insight on the... Vanita Chawla February 6, 2018 6:06 AM

This is a great nugget of information, thanks David!
Posted on 9/8/17 7:26 AM.
Hi David,

Do you have any insight on the question related to Siteminder SSO in Liferay 7?
https://stackoverflow.com/questions/48615056/liferay-7-secondary-instance-site­minder-sso

Thanks so much for the insight!
Posted on 2/6/18 6:06 AM.