This information should be available in the Authentication object's encapsulated attribute bound to the following key: https://github.com/Jasig/cas/blob/v3.5.2/cas-server-core/src/main/java/org/jasig/cas/authentication/AuthenticationManager.java#L38 without the need for custom MetadataPopulator (at least for Jdbc and Ldap authn handlers which inherit the ‘NamedAuthenticationHandler’ implementation from their respective parent classes).
Cheers, Dmitriy. On Jan 3, 2014, at 3:49 PM, Nancy Snoke <[email protected]> wrote: > This is something that I want to know later in the authentication flow. > > Thanks, > Nancy > > From: Misagh Moayyed [mailto:[email protected]] > Sent: Monday, December 30, 2013 9:15 AM > To: [email protected] > Subject: Re: [cas-user] authentication meta data populators > > Is this something that the application should know, or is it something you at > the CAS layer would want to know to use later on somewhere in the > authentication flow? > > Misagh > > > From: "Nancy Snoke" <[email protected]> > To: [email protected] > Sent: Monday, December 30, 2013 7:29:36 AM > Subject: [cas-user] authentication meta data populators > > Hi, > > I am using CAS 3.5.2 (I have no problem upgrading to the newly released 4.0 > if that would help) and I currently have authentication working with either > ldap and a database. I want to know whether the user logged on using the > ldap or the database. Based on something I read > (https://wiki.jasig.org/display/CASUM/2.+Architecture: 2.3.1.6 section) I > thought I could do this using Meta Data Populators, but couldn’t find any > documentation on how to use those. Can anyone point me to some documentation > that would help? > > Thanks, > Nancy > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
