Hi Everyone,

I'm currently working on a Custom Login Page, where there are a couple other fields alongside the usual username password fields. Is there a best practice for capturing those fields in order to pass them as SAML claims during authentication to SPs? I can add fields to JSP and get the values selected from the Custom Authentication Class. But not sure where to take them from there in order them to end up in an attribute set. Perhaps they could be written to LDAP but that would make them persistent, which these fields don't need to be persisted, session only lifetime should be enough. Because the next time they login they can choose different values and those values must go in the SAML attribute that time.

Any comments much appreciated. Thanks your time.