You change this line in the login-webflow.xml instead:

<var name="credentials"
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentials"
/>


On Wed, Aug 11, 2010 at 5:24 AM, Andy Cowling <
[email protected]> wrote:

>  On 15/04/2009 14:45, Marvin Addison wrote:
>
> 3. Modify the authenticationViaFormAction bean in cas-servlet.xml:
> A. credentialsBinder=YourCredentialsBinder
> B. formObjectClass=YourUsernamePasswordCredentials
> 4. Create a subclass of BindLdapAuthenticationHandler that does both
> the LDAP bind and subsequent X.509 DN validation and register it to
> handle credentials of type UsernamePasswordCredentials.
> ..
>
> We implemented the solution above for cas 3.3.1, and it worked fine when we
> upgraded to 3.3.5. But with cas 3.4.2, the AuthenticationViaFormAction class
> no longer extends the FormAction class, and as such does not have a
> setFormObjectClass method.
>
> How can we upgrade to 3.4.2 without significantly changing our
> implementation?
>
> Our cas-servlet.xml file contains the following:
>
>       <!--    
> ==================================================================
>               LDAP + X.509 form action handler
>       -->
>       <bean id="authenticationViaPeopleLdapFormAction" 
> class="org.jasig.cas.web.flow.AuthenticationViaFormAction"
>               
> p:centralAuthenticationService-ref="centralAuthenticationService"
>               p:warnCookieGenerator-ref="warnCookieGenerator">
>               <property
>                       name="credentialsBinder">
>                       <bean
>                               class="org.idms.cas.X509CredentialsBinder"/>
>               </property>
>               <property
>                       name="formObjectClass"
>                       value="org.idms.cas.UsernamePasswordAndX509Credentials" 
> />
>       </bean> 
>       <!--    
> ==================================================================  -->
>
>
>
> --
>
> Andy Cowling | UK Core IT
> Interactive Data Managed Solutions Ltd
>
> -------------------------------------------------------------------------------------------------------------------------------
>  Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
> Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
> [email protected]
> http://www.interactivedata-ms.com
>
> This message (including any files transmitted with it) may contain
> confidential
> and/or proprietary information, is the property of Interactive Data
> Corporation
> and/or its subsidiaries, and is directed only to the addressee(s). If you
> are not
> the designated recipient or have reason to believe you received this
> message in
> error, please delete this message from your system and notify the sender
> immediately. An unintended recipient's disclosure, copying, distribution,
> or
> use of this message or any attachments is prohibited and may be unlawful.
> Interactive Data (Europe) Ltd Registered No. 949387 England Registered
> Office:
> Fitzroy House 13-17 Epworth Street. London. EC2A 4DL
>

-- 
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