platform/core/security/cynara.git
9 years agoAdd early cynara service implementation
Lukasz Wojciechowski [Mon, 16 Jun 2014 19:46:23 +0000 (21:46 +0200)]
Add early cynara service implementation

Change-Id: I3007944f08f9c29cab6e6b755c4996f38db3ab0d

9 years agoRemove temporary added dummy file common.cpp
Lukasz Wojciechowski [Tue, 17 Jun 2014 19:24:28 +0000 (21:24 +0200)]
Remove temporary added dummy file common.cpp

It was added for keeping library non-empty at the begining of cynara
implementation. It is no longer needed.

Change-Id: Ied7f97dec91dda7f17d9c860ee6a32d86dd145c1

9 years agoFix email address
Lukasz Wojciechowski [Tue, 17 Jun 2014 19:21:23 +0000 (21:21 +0200)]
Fix email address

Change-Id: I11af1a0e98a168aa1ee12ea2d2016bd9129f0fe1

9 years agoAdapt BinaryQueue to Cynara. Add new exception classes
Lukasz Wojciechowski [Tue, 17 Jun 2014 19:12:53 +0000 (21:12 +0200)]
Adapt BinaryQueue to Cynara. Add new exception classes

Change-Id: Ide3a7eb6e9d44c265d67285b863dabe5cfe52079
Change: code formatting, ifdef guards, exceptions, nocopyability, namespace.

9 years agoImport of DPL class binary_queue from SecurityServer
Lukasz Wojciechowski [Tue, 17 Jun 2014 16:17:49 +0000 (18:17 +0200)]
Import of DPL class binary_queue from SecurityServer

src repo : ssh://review.tizen.org:29418/platform/core/security/security-server
commit   : 9d7d2f242d036ed8f07e4afa108709524b1af409

Warning this class won't compile:
1) files are not added to CMake;
2) another required DPL classes not needed by cynara aren't imported

Change-Id: I1002e84e17d9f83c1210187404a0480d6cd6433e

9 years agoAdd storage serializer (Cynara::StorageSerializer)
Aleksander Zdyb [Fri, 20 Jun 2014 08:34:03 +0000 (10:34 +0200)]
Add storage serializer (Cynara::StorageSerializer)

Change-Id: I10bbfae96e33a99d3d089dab313dc259e080aa5d

9 years agoChange PolicyType enum to PredefinedPolicyType for consts
Aleksander Zdyb [Fri, 20 Jun 2014 09:54:56 +0000 (11:54 +0200)]
Change PolicyType enum to PredefinedPolicyType for consts

PolicyType cannot be an enum, because it needs
to hold values other than just those predefined

Change-Id: I9038b57a1fc80c6c3eb3b87e74037073e9342ebd

9 years agoAdd base class (Cynara::Exception) for all exceptions
Aleksander Zdyb [Fri, 13 Jun 2014 07:17:14 +0000 (09:17 +0200)]
Add base class (Cynara::Exception) for all exceptions

Change-Id: I21c59558b4d2696907cfc69b4fac952d6b875e85

9 years agoAdd temporary CMakeLists.txt for tests
Aleksander Zdyb [Fri, 6 Jun 2014 07:26:50 +0000 (09:26 +0200)]
Add temporary CMakeLists.txt for tests

Possible verification:
1. cd test; mkdir build; cd build
2. cmake -D GMOCK_DIR=/path/to/gmock-1.7.0 -D CYNARA_SRC=../src/ ..
3. make
4. ./cynara-tests

Change-Id: I9a3a84a8f8c4ec7596368366e55d74cf85f4202b

9 years agoAdd tests for InMemoryStorageBackend and Storage
Aleksander Zdyb [Mon, 16 Jun 2014 07:32:51 +0000 (09:32 +0200)]
Add tests for InMemoryStorageBackend and Storage

Change-Id: I756457678619ad2efa6fd469f6b442018e565cdc

9 years agoAdd InMemoryStorageBackend for Cynara::Storage
Aleksander Zdyb [Tue, 10 Jun 2014 12:38:41 +0000 (14:38 +0200)]
Add InMemoryStorageBackend for Cynara::Storage

Change-Id: I46a53657d3f0e36318abc91572d38e64b3e03607

9 years agoRefactorize code to make it easier testable
Aleksander Zdyb [Fri, 13 Jun 2014 06:27:58 +0000 (08:27 +0200)]
Refactorize code to make it easier testable

Change-Id: I60f18fa2d811cb2d94e0a220f4e4131af1491b0a

9 years agoPreparation of cynara for better usage of systemd.
Adam Malinowski [Thu, 22 May 2014 11:15:34 +0000 (13:15 +0200)]
Preparation of cynara for better usage of systemd.

Change-Id: Ie210b1422ace6ebe45a3804fd52b701fe9fe13f3

9 years agoAdd logging helper.
Adam Malinowski [Thu, 22 May 2014 10:51:00 +0000 (12:51 +0200)]
Add logging helper.

Change-Id: Ib4006dd6a813e9de795333458eb5fa3620aa46d9

9 years agoMove sockets from /tmp to /run/cynara.
Rafal Krypa [Thu, 3 Jul 2014 12:04:52 +0000 (14:04 +0200)]
Move sockets from /tmp to /run/cynara.

Change-Id: I2a8dc63f69de4e7e8d737184bf9070d4cded5c36

9 years agoFixed compilation in DEBUG mode.
Adam Malinowski [Thu, 22 May 2014 10:25:28 +0000 (12:25 +0200)]
Fixed compilation in DEBUG mode.

Change-Id: I0074df6dcadc6793d3faec9f669e1eaabf6d2fb2

9 years agoPrepare structures and API for Storage layer of cynara service.
Lukasz Wojciechowski [Tue, 13 May 2014 17:23:40 +0000 (19:23 +0200)]
Prepare structures and API for Storage layer of cynara service.

[Bug/Feature]   N/A
[Cause]         Developement of cynara
[Solution]      Creating basic classes and defines for implementation
[Verification]  Build and install

Change-Id: I62999c946113bec252fb330514c9134ddb894d47
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
10 years agoImplement cynara-bootstrap version of libcynara-client 64/20464/9 accepted/tizen/common/20140521.234004 submit/tizen/20140521.102954
Lukasz Wojciechowski [Thu, 8 May 2014 14:27:51 +0000 (16:27 +0200)]
Implement cynara-bootstrap version of libcynara-client

This is temporary version - it's implementation is based on
security-server and libprivilege-control instead of cynara service.

[Bug/Feature]   N/A
[Cause]         First working version of cynara's client.
[Solution]      Implementation temporary based on security-server.
[Verification]  Should be build along with all other patches
                marked with topic:cynara-bootstrap.
Build needs: http://review.tizen.org/gerrit/#/c/20519/

Change-Id: I8468b6756c9844840f3b3bea37f498b08b7f7188
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
10 years agoAdd cynara directory structure, manifest and build files 40/20440/12
Lukasz Wojciechowski [Thu, 8 May 2014 14:11:43 +0000 (16:11 +0200)]
Add cynara directory structure, manifest and build files

Definition of libcynara-client header

[Bug/Feature]   N/A
[Cause]         Definition of repository and build structure.
[Solution]      Directory structure and build system files added.
[Verification]  Should build on all platforms and provide following
                packages:cynara, libcynara-admin, libcynara-client.

Change-Id: I922c2e0ccce5b0e49302aa643afbc2fbb9778cd2
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
10 years agoInitial empty repository devel master
Sehong Na [Tue, 29 Apr 2014 03:45:23 +0000 (20:45 -0700)]
Initial empty repository