RADIUS adaptor in CAS-3.1-m1
Philip Brusten
philip.brusten at cc.kuleuven.be
Fri Apr 6 04:36:39 EDT 2007
Velpi wrote:
>> I want to configure cas-3.1-m1 to use the RADIUS handler.
>>
>
> I *think* this should work:
> --------------------------------
> <property name="authenticationHandlers">
> <list>
> ...
> <bean
>
> class="org.jasig.cas.adaptors.radius.authentication.handler.support.RadiusAuthenticationHandler">
> <property name="servers">
> <list>
> <bean id="radiusServer1"
> class="org.jasig.cas.adaptors.radius.JRadiusServerImpl">
> <property name="hostname" value="radius1.example.be"/>
> <property name="sharedSecret" value="secret1"/>
> </bean>
>
> <bean id="radiusServer2"
> class="org.jasig.cas.adaptors.radius.JRadiusServerImpl">
> <property name="hostname" value="radius2.example.be"/>
> <property name="sharedSecret" value="secret2"/>
> </bean>
>
> </list>
> </property>
> <property
> name="failoverOnException" value="false"/>
> <property
> name="failoverOnAuthenticationFailure" value="false"/>
> </bean>
> </list>
> </property>
> </bean>
>
>
It didn't work... This is the error message I received:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'radiusServer' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Instantiation of bean failed;
nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.jasig.cas.adaptors.radius.JRadiusServerImpl]: No default
constructor found; nested exception is java.lang.NoSuchMethodException:
org.jasig.cas.adaptors.radius.JRadiusServerImpl.<init>()
Apparently JRadiusServerImpl cannot be instantiated by a bean.
Any other suggestions?
Philip
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the cas
mailing list