You need to read the complete document.
In the "Custom Implementations" section it's described how you extend the login 
page.

Robert

> 
> On Mon, Dec 20, 2010 at 4:07 PM, colagero <[email protected]> wrote:
> 
> hi all,
> 
> 
> 
> i,m tryng to follow your Documentation to set Remember feature on CAS 3.4.2 
> but it doesnt work
> please help,
> 
> https://wiki.jasig.org/display/CASUM/Remember+Me
> 
> 
> 
> i did the setting on deployerConfigContext.xml,  login-webflow.xml , 
> ticketExpirationPolicies.xml  exactly matching the Doc,
> 
> i did net get the rememberMe   on CAS  login page
> 
> please advise,
> 
> this is my setting
> 
> 1- i add his on deployerConfigContext.xml
> 
> <property name="authenticationMetaDataPopulators">
> 
>      <list>
> 
>         <bean 
> class="org.jasig.cas.authentication.principal.RememberMeAuthenticationMetaDataPopulator"
>  />
> 
>      </list>
> 
> </property>
> 
> 2- i change the same part with this added this on login-webflow.xml:
> 
> <view-state id="viewLoginForm" view="casLoginView" model="credentials">
> 
>    <var name="credentials" 
> class="org.jasig.cas.authentication.principal.RememberMeUsernamePasswordCredentials"
>  />
> 
>    <binder>
> 
>        <binding property="username" />
> 
>        <binding property="password" />
> 
>        <binding property="rememberMe" />
> 
>    </binder>
> 
>    <on-entry>
> 
>        <set name="viewScope.commandName" value="'credentials'" />
> 
>    </on-entry>
> 
>    <transition on="submit" bind="true" validate="true" to="realSubmit">
> 
>        <set name="flowScope.credentials" value="credentials" />
> 
>        <evaluate 
> expression="authenticationViaFormAction.doBind(flowRequestContext, 
> flowScope.credentials)" />
> 
>    </transition>
> 
> </view-state>
> 
> 3-i added this on ticketExpirationPolicies.xml
> 
> <bean id="grantingTicketExpirationPolicy">
>   <property name="sessionExpirationPolicy">
>        <bean>
>           <constructor-arg index="0" value="7200000" />
>        </bean>
>   </property>
>   <property name="rememberMeExpirationPolicy">
>        <bean>
>           <constructor-arg index="0" value="7200000" />
>        </bean>
>   </property>
> </bean>
> <bean id="grantingTicketExpirationPolicy" 
> class="org.jasig.cas.ticket.support.RememberMeDelegatingExpirationPolicy">
> 
>   <property name="sessionExpirationPolicy">
> 
>        <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
> 
>           <constructor-arg index="0" value="7200000" />
> 
>        </bean>
> 
>   </property>
> 
>   <property name="rememberMeExpirationPolicy">
> 
>        <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
> 
>           <constructor-arg index="0" value="7200000" />
> 
>        </bean>
> 
>   </property>
> 
> </bean>
> --
> 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

Reply via email to