Hello all,

I'm trying to implement the 2-tier CAS timeout as outlined here: 
https://wiki.jasig.org/pages/viewpage.action?pageId=13570204

I've followed the instructions and been in contact with Tim (the author of the 
instructions) but I've hit a wall with the following build error.

As per the instructions:

1) I've updated the "package ..." lines in the java files accordingly.

2) I've updated cas-servlet.xml to include the bean:

<bean id="authenticationViaFormAction" 
class="org.jasig.cas.web.flow.AuthenticationViaFormAction"
                
p:centralAuthenticationService-ref="centralAuthenticationService"
                p:warnCookieGenerator-ref="warnCookieGenerator"
                p:formObjectName="credentials"
                
p:formObjectClass="ca.uvic.idm.cas.authentication.principal.UsernamePasswordWorkstationTypeCredentials"
 />

When built, I get the following error in catalina.out:

org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'authenticationViaFormAction' defined in ServletContext resource 
[/WEB-INF/cas-servlet.xml]: Error setting property values; nested exception is 
org.springframework.beans.NotWritablePropertyException: Invalid property 
'formObjectClass' of bean class 
[org.jasig.cas.web.flow.AuthenticationViaFormAction]: Bean property 
'formObjectClass' is not writable or has an invalid setter method. Does the 
parameter type of the setter match the return type of the getter?

Does anybody have any idea what might be the cause?  The parameter type of 
setWorkstationType does match the return type of getWorkstationType (both 
strings).

I should note that when I enter crap in the p:formObjectClass line (for example 
'p:formObjectClass="ca.uvic.idm.cas.authentication.balsjkalkjbalbkj.principal.UsernamePasswordWorkstationTypeCredentials")
 I get the same error message in catalina.out, so it's as though the 
UsernamePasswordWorkstationTypeCredentials class can't be found.

I'm using CAS 3.4.2 (the instructions written by Tim used CAS 3.2) and building 
using the war overlay method.

If you need any more info let me know.

Thanks,
Matt

-------------------------------
Matthew Selwood
Web and Identity Services Developer - Web Services
University of Victoria
250.472.5565 | [email protected] <mailto:[email protected]> | CLE C006

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