8a312b519f174d21dbb8ee75a757c59b35d16cb8
[framework/security/security-server.git] / ace / include / ace-dao-ro / VerdictTypes.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /**
17  *
18  *
19  * @file       VerdictTypes.h
20  * @author     Grzegorz Krawczyk (g.krawczyk@samsung.com)
21  * @version    0.1
22  * @brief
23  */
24
25 #ifndef ACCESS_CONTROL_DAO_VERDICTTYPES_H_
26 #define ACCESS_CONTROL_DAO_VERDICTTYPES_H_
27
28 namespace AceDB{
29
30 enum class VerdictTypes
31 {
32     VERDICT_PERMIT,
33     VERDICT_DENY,
34     //Verdict is innapplicable if policy evaluate to INAPPLICABLE,
35     //in this case WRT should decide what to do
36     VERDICT_INAPPLICABLE,
37     VERDICT_UNDETERMINED,
38     VERDICT_UNKNOWN,  //Verdict is unknown if Verdicts manager cannot find it
39     VERDICT_ASYNC,
40     VERDICT_ERROR
41 };
42
43 }
44
45 #endif