| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache 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.apache.org/licenses/LICENSE-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. |
| --> |
| |
| <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> |
| |
| <!-- authorization dynamic access implementation API --> |
| <service name="dynamicAccessInterface" engine="interface"> |
| <description>Service interface for implementing Dynamic Access as a service</description> |
| <attribute name="userId" type="String" mode="IN" optional="false"/> |
| <attribute name="permission" type="String" mode="IN" optional="false"/> |
| <attribute name="accessString" type="String" mode="IN" optional="false"/> |
| <attribute name="permissionContext" type="Map" mode="IN" optional="true"/> |
| <attribute name="permissionGranted" type="Boolean" mode="OUT" optional="false"/> |
| </service> |
| |
| <!-- dynamic access test service --> |
| <service name="dynamicAccessTestService" engine="simple" auth="false" |
| location="component://securityext/testdef/da/DynamicAccessTest.xml" invoke="testDa"> |
| <implements service="dynamicAccessInterface"/> |
| </service> |
| <service name="dynamicAccessRecursiveTest" engine="simple" auth="false" |
| location="component://securityext/testdef/da/DynamicAccessTest.xml" invoke="testDaRecursion"> |
| <implements service="dynamicAccessInterface"/> |
| </service> |
| </services> |