dent.core.ks-standard-sec.2.0.3-cm.source-code.ks-spring-security-saml.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd"> <!-- Service for proxy ticket validation and SAML --> <bean id="samlIssuerServiceImpl" class="org.kuali.student.security.saml.service.SamlIssuerServiceImpl"> <property name="casServerUrl" value="${ks.default.security.cas.serverAddress}"/> <property name="samlIssuerForUser" value="org.kuali.student.principal"/> <property name="proxyCallBackUrl" value="${ks.default.security.cas.webapp.service.context}/secure/receptor"/> </bean> <bean class="org.kuali.rice.ksb.api.bus.support.ServiceBusExporter"> <property name="serviceDefinition"> <bean class="org.kuali.rice.ksb.api.bus.support.SoapServiceDefinition"> <property name="jaxWsService" value="true" /> <property name="service" ref="samlIssuerServiceImpl" /> <property name="serviceInterface" value="org.kuali.student.security.saml.service.SamlIssuerService" /> <property name="localServiceName" value="SamlIssuerService" /> <property name="serviceNameSpaceURI" value="http://student.kuali.org/wsdl/security/saml" /> <property name="busSecurity" value="false"></property> </bean> </property> </bean> <bean id="samlUtils" class="org.kuali.student.security.util.SamlUtils"> <property name="keystoreType" value="${ks.default.security.saml.keystoreType}"/> <property name="keystoreFile" value="${ks.default.security.saml.keystoreFile}"/> <property name="keystorePass" value="${ks.default.security.saml.keystorePass}"/> <property name="privateKeyAlias" value="${ks.default.security.saml.privateKeyAlias}"/> <property name="privateKeyPass" value="${ks.default.security.saml.privateKeyPass}"/> <property name="certificateAlias" value="${ks.default.security.saml.certificateAlias}"/> </bean> </beans>