All Downloads are FREE. Search and download functionalities are using the official Maven repository.

igner-service.signer-service-core-bc-composite-svc.1.1.source-code.signer-service-config.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2010 Västra Götalandsregionen

      This library is free software; you can redistribute it and/or modify
      it under the terms of version 2.1 of the GNU Lesser General Public
      License as published by the Free Software Foundation.

      This library is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      GNU Lesser General Public License for more details.

      You should have received a copy of the GNU Lesser General Public
      License along with this library; if not, write to the
      Free Software Foundation, Inc., 59 Temple Place, Suite 330,
      Boston, MA 02111-1307  USA

-->

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:sec="http://cxf.apache.org/configuration/security"
       xmlns:http="http://cxf.apache.org/transports/http/configuration"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
                           http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
                            http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
                            http://cxf.apache.org/transports/http/configuration
                            http://cxf.apache.org/schemas/configuration/http-conf.xsd">

  <jaxws:client id="osifCxfWebService" wsdlLocation="osif.wsdl"
                address="${eid.endpoint}" serviceClass="se.sll.wsdl.soap.osif.Osif"/>

  <!-- The name of a conduit cannot be configured with a property (${property.name} style) so we need to hard code. We
  can make several conduits if need arises. -->
  <http:conduit name="https://eid.funktionstjanster.se:8890/.*">
    <http:tlsClientParameters>
      <sec:trustManagers>
        <sec:keyStore type="JKS" password="${truststore.password}"
                      file="${truststore.file.location}"/>
      </sec:trustManagers>
    </http:tlsClientParameters>
  </http:conduit>

  <bean id="signatureService" class="se.vgregion.web.security.services.SignatureServiceOsif">
    <constructor-arg ref="osifCxfWebService"/>
    <constructor-arg value="${eid.serviceid}"/>
  </bean>

  <bean id="ticketManager" class="se.vgregion.ticket.TicketManager" factory-method="getInstance"/>

  <bean id="serviceIdService" class="se.vgregion.web.security.services.ServiceIdServiceImpl">
    <constructor-arg index="0" value="${user.home}/.ss/service-ids.properties"/>
    <constructor-arg index="1" value="60000"/>
  </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy