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

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to