META-INF.spring.radius-server-config.xml Maven / Gradle / Ivy
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:c="http://www.springframework.org/schema/c" xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <description> This file is loaded by the Spring configuration automatically, and serves as a placeholder for various view definitions and beans. This helps with construction of views that require references to other beans and whose changes can be configured externally. </description> <util:constant static-field="org.jasig.cas.adaptors.radius.RadiusServer.DEFAULT_PORT_ACCOUNTING" id="accountingPort" /> <util:constant static-field="org.jasig.cas.adaptors.radius.RadiusServer.DEFAULT_PORT_AUTHENTICATION" id="authenticationPort" /> <util:list id="radiusServers"> <ref bean="radiusServer" /> </util:list> <bean id="radiusServer" class="org.jasig.cas.adaptors.radius.JRadiusServerImpl" c:protocol="${cas.radius.server.protocol:EAP_MSCHAPv2}" p:retries="${cas.radius.server.retries:3}" p:nasIdentifier="${cas.radius.server.nasIdentifier:}" p:nasPort="${cas.radius.server.nasPort:-1}" p:nasPortId="${cas.radius.server.nasPortId:-1}" p:nasRealPort="${cas.radius.server.nasRealPort:-1}" p:nasPortType="${cas.radius.server.nasPortType:-1}" p:nasIpAddress="${cas.radius.server.nasIpAddress:}" p:nasIpv6Address="${cas.radius.server.nasIpv6Address:}" c:clientFactory-ref="radiusClientFactory" /> <bean id="radiusClientFactory" class="org.jasig.cas.adaptors.radius.RadiusClientFactory" p:inetAddress="${cas.radius.client.inetaddr:localhost}" p:accountingPort="${cas.radius.client.port.acct:#{accountingPort}}" p:socketTimeout="${cas.radius.client.socket.timeout:60}" p:authenticationPort="${cas.radius.client.port.authn:#{authenticationPort}}" p:sharedSecret="${cas.radius.client.sharedsecret:N0Sh@ar3d$ecReT}" /> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy