Problem templating LDAP userFilter
Cantor, Scott
cantor.2 at osu.edu
Mon Jul 1 14:28:41 UTC 2024
I don't think the filter strings there are Velocity.
If nothing else, you can apply CredentialValidator-specific transforms to change the username before it gets handed to the code that builds the user filter.
<util:list id="shibboleth.authn.Password.Transforms">
<bean parent="shibboleth.Pair" p:first="^(.+)@osu\.edu$" p:second="$1" />
</util:list>
To do it non-globally the transform list has to be injected to the specific validator's transforms property.
-- Scott
More information about the users
mailing list