I am struggling with my CAS configuration.
I'm using the 3.0.7 server and 2.1.1 client.
In my deployerConfigContext.xml I have this (3.0.7's default)......
<bean
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler">
<property
name="httpClient"
ref="httpClient" />
</bean>
In my applicationContext.xml I have this (3.0.7's default)...
<bean
id="httpClient"
class="org.jasig.cas.util.HttpClient3FactoryBean">
<property
name="soTimeout"
value="5000" />
<property
name="connectionManagerTimeout"
value="5000" />
<property
name="connectionTimeout"
value="5000" />
<property
name="defaultMaxConnectionsPerHost"
value="50" />
<property
name="maxTotalConnections"
value="50" />
</bean>
And in my error log I have this..
Exception: Invalid property 'httpClient' of bean class
[org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler]:
Bean property 'httpClient' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?
Which is not surprising given that
HttpBasedServiceCredentialsAuthenticationHandler doesn't take a
HttpClient3FactoryBean.
import org.apache.commons.httpclient.HttpClient;
/** Sets the HttpClient which will do all of the connection stuff. */
public void setHttpClient(final HttpClient httpClient) { this.httpClient
= httpClient; }
Am I doing something wrong ? Am I mixing and matching incompatible versions of
something ??
If I have to change the defaults, what should my configuration look like ?
I've had everything working some time ago (using much older versions, can't
remember which now)...but now I am stumped..
matt.
_________________________________________________________________
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com/index2.html_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas