ilscipio/scipio-erp

View on GitHub
applications/securityext/servicedef/services.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
    <description>OFBiz Security Services</description>
    <vendor>OFBiz</vendor>
    <version>1.0</version>

    <!-- certificate services -->
    <service name="importIssuerProvision" engine="java" auth="true"
            location="org.ofbiz.securityext.cert.CertificateServices" invoke="importIssuerCertificate">
        <description>Import an x.509 certificate into a defined keystore and create the provision data</description>
        <permission-service service-name="securityPermissionCheck" main-action="CREATE"/>
        <attribute name="componentName" type="String" mode="IN" optional="false"/>
        <attribute name="keystoreName" type="String" mode="IN" optional="false"/>
        <attribute name="certString" type="String" mode="IN" optional="false"/>
        <attribute name="importIssuer" type="String" mode="IN" optional="true"/>
        <attribute name="alias" type="String" mode="IN" optional="false"/>
    </service>

</services>