My system's usernames used for logins are not the same as the unique 
userid's used by the database.  In fact, usernames aren't necessarily 
unique and sometimes require the password to determine the specific userid. 
 I need my validation response to return the userid.

I already have a custom AuthenticationHandler, which implements 
AbstractJdbcUsernamePasswordAuthenticationHandler, that is correctly 
authenticating using a MSSQL stored procedure.  One of the byproducts of 
calling the procedure is the userid, so that in the AuthenticationHandler 
we do know what the userid is.

>From my reading, it seems that there may be a way to store the userid away 
as an attribute, which could later be used as part of the validation 
response.  I'm stuck however trying to figure out how to do this.  I would 
appreciate some pointers, especially if they came with the specific XML 
files I need to modify and the functions I should call from within my 
AuthenticationHandler to store the attribute.


-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to