From 4acd21a9cb97ff1e71d6305453e711483bb72765 Mon Sep 17 00:00:00 2001 From: Sakthivel Samidurai Date: Fri, 3 Apr 2015 14:56:55 -0700 Subject: [PATCH] Remove unused header and CPP files Remove unused OCSecurityModel.h and OCSecurityModel.cpp files Change-Id: Ic1308e4edaedce609edecae7950d44136e78c17e Signed-off-by: Sakthivel Samidurai Reviewed-on: https://gerrit.iotivity.org/gerrit/646 Tested-by: jenkins-iotivity Reviewed-by: Erich Keane --- resource/include/OCSecurityModel.h | 58 -------------------------------------- resource/src/OCSecurityModel.cpp | 32 --------------------- 2 files changed, 90 deletions(-) delete mode 100644 resource/include/OCSecurityModel.h delete mode 100644 resource/src/OCSecurityModel.cpp diff --git a/resource/include/OCSecurityModel.h b/resource/include/OCSecurityModel.h deleted file mode 100644 index f43aa3b..0000000 --- a/resource/include/OCSecurityModel.h +++ /dev/null @@ -1,58 +0,0 @@ -//****************************************************************** -// -// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved. -// -//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -// -// 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. -// -//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - -/** - * @file - * - * This file contains the declaration of classes and its members required to - * provide security model support. - */ - -#ifndef __OCSECURITYMODEL_H -#define __OCSECURITYMODEL_H - -#include "OCApi.h" - -namespace OC -{ - /** - * @brief This class provides the required security model to - * access a service or a particular resource. - */ - class OCSecurityModel - { - public: - OCSecurityModel(void); - - virtual ~OCSecurityModel(void); - - /** - * @fn checks the security access - * - * @param sourceURI - source URI - * @param destinationURI - destination URI of the resoruce to access - * @param encryptionLevel - Encryption level - * @param remoteIdentity - remote identity - */ - void checkAccess(URI sourceURI, URI destinationURI, int encryptionLevel, int remoteIdentity); - }; -} - -#endif //__OCSECURITYMODEL_H diff --git a/resource/src/OCSecurityModel.cpp b/resource/src/OCSecurityModel.cpp deleted file mode 100644 index c9bb57f..0000000 --- a/resource/src/OCSecurityModel.cpp +++ /dev/null @@ -1,32 +0,0 @@ -//****************************************************************** -// -// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved. -// -//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -// -// 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. -// -//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - -#include "OCSecurityModel.h" - -namespace OC { - OCSecurityModel::OCSecurityModel(void) - { - } - - - OCSecurityModel::~OCSecurityModel(void) - { - } -} \ No newline at end of file -- 2.7.4