Most people just modify the JSP page that returns the CAS response to include it. It requires some custom parsing on the client side (if you're using the Java client you can just extend one of the validators).
Cheers, Scott On Thu, Sep 17, 2009 at 1:15 AM, Radha C. <[email protected]> wrote: > Thanks Scott, By the way, we have the remember me feature in our site > and also it is working properly, we dont have any issues in remember me > functionality. > Because whenever the user requests the page, we are redirecting to CAS > which is external and CAS server takes care if he was already remembered and > CAS sends the ticket back ( Note : there is no indication to the external > client that he is logged in based on remember me feature ). Based on ticket > we assume whether the user has logged in or not. > > But , our requirement is to get some remember me indication at the client > application which runs externally, if the user checks the rememberMe > checkbox in the CAS server login page. We have to do some additional work > in the client application based on the remembered user. > > I modified the redirect file DynamicRedirectViewSelector , did passing > rememberMe parameter along with the ticket in the service url. > So that the external client has the indication that the user has logged in > with remember me feature. > > But I would like to know if there is anyother better solution for this? > > > Thanks, > Radha.C > > > > ------------------------------ > *From:* Scott Battaglia [mailto:[email protected]] > *Sent:* Thursday, September 17, 2009 1:03 AM > *To:* [email protected] > *Subject:* Re: [cas-user] rememberMe value to external application > > Did you configure in the appropriate MetaDataPopulator? > > https://www.ja-sig.org/svn/cas3/trunk/cas-server-core/src/main/java/org/jasig/cas/authentication/principal/RememberMeAuthenticationMetaDataPopulator.java > > Cheers, > Scott > > > On Wed, Sep 16, 2009 at 8:00 AM, Radha C. <[email protected]> wrote: > >> Hi, >> >> I need to pass the rememberMe parameter value from the CAS-Spring tomcat >> server to my application which is running in ATG dynamo server. >> I have the rememberMe checkbox in the CAS login page and I am able to get >> the rememberMe parameter value after successful login within the same CAS >> server. >> >> But the redirect to external application( dynamo) from CAS server will not >> have the rememberMe parameter after logging in and not available to the >> external application. >> >> I also tried to access the attribute AUTHENTICATION_ATTRIBUTE_REMEMBER_ME >> from http://www.ja-sig.org/wiki/display/CASUM/Remember+Me, >> it gives null value. >> So I modified the CAS library file DynamicRedirectViewSelector.java to >> append the remeberMe parameter in the service. >> >> The above works good. But Is there any other way I pass the rememberMe >> value to the external application or I can do better by some other approach? >> >> Thanks in advance, >> >> Radha.C >> >> >> >> -- >> 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
