Velpi wrote:
>> Apparently JRadiusServerImpl cannot be instantiated by a bean.
>>     
>
> It can, but you used the wrong syntax to instantiate it (I didn't check 
> that in your example). You need to pass constructor-args in stead of 
> properties. See http://www.ja-sig.org/wiki/display/CASUM/RADIUS
>
> And if you look at 
> http://developer.ja-sig.org/source/browse/~raw,r=1.3/jasig/cas3/cas-server-support-radius/src/main/java/org/jasig/cas/adaptors/radius/JRadiusServerImpl.java
>  
> then you'll notice that there's a constructor that works by only receiving:
>     <constructor-arg index="0" value="radius1.example.org" />
>     <constructor-arg index="1" value="THIS_IS_MY_SHARED_SECRET" />
>     <constructor-arg index="2">
>        <bean class="net.sf.jradius.client.auth.PAPAuthenticator" />
>     </constructor-arg>
>   
Thanks or "Bedankt" in Dutch, it works now!

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