Modify Username on Input?
Dylan Martin
Dylan.Martin at seattlecolleges.edu
Mon Nov 7 14:14:32 EST 2016
Hi all.
I'm working on setting up an IDP for a small college. I want to accept
usernames in two forms: 'bob.user' & 'bob.user at mycollege.edu'. I just
want to knock the '@mycollege.edu' off the end if the user submits it that
way. Should be easier than writing this email.
Unfortunately, my java isn't great. I still don't really know what a bean
is. I don't know the right way to go about doing this. Is there a
property file I should edit? An XML file? I noticed the source for Shib
is broken up into many pieces, so which piece would I want?
Just to be extra clear, I'm talking about the stage in the process where
the user enters a username and password into the web form and the idp gets
the form data. So, the form collection and interpretation stage, whatever
that is. Unless, of course, that's a bad idea and you would suggest doing
it at a different stage.
I need it to happen before authentication, because authentication will fail
if I don't get the username massaged properly.
And no, I'm not going to just tell my users to learn to type. This is a
computer, it should compute things. Pulling a known substring off the end
of a string is easy for a computer and hard for 10,000 random humans.
Thanks!
-Dylan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161107/532207e5/attachment.html>
More information about the users
mailing list