summaryrefslogtreecommitdiffstats
path: root/static/redfish/v1
diff options
context:
space:
mode:
authorZbigniew Kurzynski <zbigniew.kurzynski@intel.com>2019-10-02 11:22:11 +0200
committerZbigniew Kurzynski <zbigniew.kurzynski@intel.com>2019-11-12 07:39:07 +0000
commit501f1e58ea6fdf97163ce4ea05fbaf1861a62b79 (patch)
tree6f617b9e3c29ae4cf7d1b505eefe1444a19ab54d /static/redfish/v1
parente9e6d240ab85e515f8d264e39b47a75043b73374 (diff)
downloadbmcweb-501f1e58ea6fdf97163ce4ea05fbaf1861a62b79.tar.gz
bmcweb-501f1e58ea6fdf97163ce4ea05fbaf1861a62b79.zip
TLS method configuration
User is now able to turn on and off the TLS authentication method. Tested: No regression found in manual testing. By default everything works as before, and disabling TLS method prevents user to authenticate by it. Tested with Redfish Service Validator, version 1.2.8 Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> Change-Id: Ib7be1af659db568caa7e5b97e3844617586d7754
Diffstat (limited to 'static/redfish/v1')
-rw-r--r--static/redfish/v1/JsonSchemas/OemAccountService/index.json9
-rw-r--r--static/redfish/v1/schema/OemAccountService_v1.xml6
2 files changed, 15 insertions, 0 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemAccountService/index.json b/static/redfish/v1/JsonSchemas/OemAccountService/index.json
index 5283170..2311d83 100644
--- a/static/redfish/v1/JsonSchemas/OemAccountService/index.json
+++ b/static/redfish/v1/JsonSchemas/OemAccountService/index.json
@@ -83,6 +83,15 @@
"null"
]
},
+ "TLS": {
+ "description": "Indicates whether TLS authorization is enabled.",
+ "longDescription": "The value of this property shall be a boolean indicating whether TLS authorization is enabled.",
+ "readonly": false,
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
"XToken": {
"description": "Indicates whether XToken authorization is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether XToken authorization is enabled.",
diff --git a/static/redfish/v1/schema/OemAccountService_v1.xml b/static/redfish/v1/schema/OemAccountService_v1.xml
index 626097b..c5783ca 100644
--- a/static/redfish/v1/schema/OemAccountService_v1.xml
+++ b/static/redfish/v1/schema/OemAccountService_v1.xml
@@ -53,6 +53,12 @@
<Annotation Term="OData.Description" String="Indicates whether XToken authorization is enabled."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether XToken authorization is enabled."/>
</Property>
+
+ <Property Name="TLS" Type="Edm.Boolean">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="Indicates whether TLS authorization is enabled."/>
+ <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether TLS authorization is enabled."/>
+ </Property>
</ComplexType>
<!--Base entity type for array members-->
OpenPOWER on IntegriCloud