|
@@ -0,0 +1,71 @@
|
|
|
+<!--
|
|
|
+################################################################################
|
|
|
+# HPCC SYSTEMS software Copyright (C) 2016 HPCC Systems.
|
|
|
+#
|
|
|
+# Licensed 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.
|
|
|
+################################################################################
|
|
|
+-->
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+
|
|
|
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
|
|
+ <xs:element name="HtpasswdSecMgr">
|
|
|
+ <xs:complexType>
|
|
|
+
|
|
|
+ <xs:attribute name="htpasswdFile" type="xs:string" use="required">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:appinfo>
|
|
|
+ <tooltip>The fully qualified HTPASSWD filespec</tooltip>
|
|
|
+ </xs:appinfo>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:attribute>
|
|
|
+
|
|
|
+ <!-- All SecurityManager Plugins must define the type="SecurityManager" attribute -->
|
|
|
+ <xs:attribute name="type" type="SecurityManager" use="required" default="SecurityManager">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:appinfo>
|
|
|
+ <viewType>hidden</viewType>
|
|
|
+ </xs:appinfo>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:attribute>
|
|
|
+
|
|
|
+ <!-- All SecurityManager Plugins must define the libName attribute -->
|
|
|
+ <xs:attribute name="libName" type="xs:string" use="optional" default="libhtpasswdSecurity.so">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:appinfo>
|
|
|
+ <tooltip>The Security Manager library name (.so) and optional path</tooltip>
|
|
|
+ </xs:appinfo>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:attribute>
|
|
|
+
|
|
|
+ <!-- All SecurityManager Plugins must define the instanceFactoryName attribute -->
|
|
|
+ <xs:attribute name="instanceFactoryName" type="xs:string" use="optional" default="createInstance">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:appinfo>
|
|
|
+ <tooltip>Class Factory method name in the Security Manager library (.so)</tooltip>
|
|
|
+ </xs:appinfo>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:attribute>
|
|
|
+
|
|
|
+ <!-- All SecurityManager Plugins must define the (instance) name attribute -->
|
|
|
+ <xs:attribute name="name" type="xs:string" use="required">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:appinfo>
|
|
|
+ <tooltip>Name for this htpasswd Security Manager instance</tooltip>
|
|
|
+ <required>true</required>
|
|
|
+ </xs:appinfo>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:attribute>
|
|
|
+
|
|
|
+ </xs:complexType>
|
|
|
+ </xs:element>
|
|
|
+</xs:schema>
|