This ADFS Custom Attribute Store would allow us to transform claim rules with basic string manipulation, such as changing to all lowercase or all caps.
The code was initially straight from Microsoft's example here:
...with assistance from this article:
See those pages for details on compiling, installing, and using the DLL.
- 1.0.1 Added a few new methods: trim, removeDashes, truncateTo12Chars, truncateTo16Chars
- 1.0.0 Code matches Microsoft's string processing example exactly.
- Re-implement
truncate
as a 2-paramter query, reference: https://msdn.microsoft.com/en-us/library/ee895358.aspx