platform/core/security/askuser.git
7 years agoSwitch askuser-notification to server from client 70/99670/7
Zofia Abramowska [Wed, 16 Nov 2016 10:38:50 +0000 (11:38 +0100)]
Switch askuser-notification to server from client

askuser-notification systemd services will work as socket servers
accepting requests to fetch user answer from popup.
New service is socket activated.
Socket and systemd unit are created per user instance.

This change is only partial. Switch of askuser notification
backend is required and will be provided with next commit.

Change-Id: I989312e36fd5aded2a8fdda52f4c72a745e35807

7 years agoAdd systemd socket 69/99669/6
Zofia Abramowska [Tue, 8 Nov 2016 11:19:52 +0000 (12:19 +0100)]
Add systemd socket

Current design of askuser notification is too complicated.
This is a first change to move server to askuser-notification
services, so agent UI backend can be less complicated.

Change-Id: I9c14b555cbbd2701fc8c7195f4e196cdaf597ca4

7 years agoFix pthread linkage 71/99371/7
Zofia Abramowska [Thu, 17 Nov 2016 16:55:43 +0000 (17:55 +0100)]
Fix pthread linkage

Usage of std::thread requires linking with pthread.

Change-Id: I1af16fb35b4356ecf005349c578d95a411e1001d

7 years agoFix cynara talker 70/99370/7
Zofia Abramowska [Thu, 17 Nov 2016 16:49:56 +0000 (17:49 +0100)]
Fix cynara talker

When cynara thread start fails with exception its destructor
unnecessarily calls join on thread (which blocks).

Change-Id: Ieb1d5727fecf09af7ae557aacf689d4b578e65e0

7 years agoGenerate user socket path 69/99369/7
Zofia Abramowska [Thu, 10 Nov 2016 15:12:07 +0000 (16:12 +0100)]
Generate user socket path

Change-Id: I714c328fea776358e3d9feeef55e84474acdac8b

7 years agoRedo sockets 38/96938/8
Zofia Abramowska [Thu, 10 Nov 2016 09:32:56 +0000 (10:32 +0100)]
Redo sockets

Add Socket class, remove SelectRead add Poll class

Change-Id: Ia28b49825808554874af3a033d9b3e727f848659

7 years agoWrap privilege info and security-manager api 36/96936/6
Zofia Abramowska [Mon, 7 Nov 2016 16:21:44 +0000 (17:21 +0100)]
Wrap privilege info and security-manager api

Change-Id: I33f5fd90828dbd6f58b54f56a4a195088b6a9aac

7 years agoAdd spec/cmake define to enable/disable askuser service 80/101280/1
Zofia Abramowska [Mon, 18 Jul 2016 10:51:28 +0000 (12:51 +0200)]
Add spec/cmake define to enable/disable askuser service

Make usage of systemd daemon configurable.
Remove obsolete systemd libraries and use new one.

Change-Id: I4f4e29932fea3c2c39152094f64012b3245610f1

7 years agoFix bugs in socket methods 19/77219/6
Oskar Świtalski [Wed, 29 Jun 2016 05:48:36 +0000 (07:48 +0200)]
Fix bugs in socket methods

Change-Id: Ibe8acd53fd61bef1e1255c17af27f802371d99d4
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
7 years agoFix memory leaks 18/77218/5
Oskar Świtalski [Wed, 29 Jun 2016 05:35:35 +0000 (07:35 +0200)]
Fix memory leaks

Change-Id: I28a3c6b005996e972f2a1cfeb42f14ee82833777
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoReorganize systemd units 13/91813/1
Tomasz Swierczek [Tue, 11 Oct 2016 12:41:09 +0000 (14:41 +0200)]
Reorganize systemd units

Even if enabled, askuser daemon didn't start after system reboot

Change-Id: I8d00db7543ba67b771fd709b858d54da884c07b7

8 years agoRevert "Disable askuser service" 12/91812/1
Tomasz Swierczek [Tue, 11 Oct 2016 11:12:18 +0000 (13:12 +0200)]
Revert "Disable askuser service"

This reverts commit f85398e494f1d345d03729788930335925b08467.

Change-Id: Ie678fde5d6a91caa16c8d294489aa3344650f79e

8 years agoDon't harcode smack labels 92/90592/2
Zbigniew Jasinski [Fri, 30 Sep 2016 15:15:31 +0000 (17:15 +0200)]
Don't harcode smack labels

The module is adjusted to new, pkg-id based Smack label creation for applications

Change-Id: I179041fcc5c1828cda6f5a35df87685199a70417
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
8 years agoChange UI and policy setup to use privilege groups instead of privileges 97/84797/6
Tomasz Swierczek [Mon, 22 Aug 2016 10:38:46 +0000 (12:38 +0200)]
Change UI and policy setup to use privilege groups instead of privileges

Concept of privilege groups was added to privilege-checker module.

Change-Id: I15c599372156ceb130f62248f7e12985d4521557

8 years agoFix string formatting in logs 03/84103/3
Zofia Abramowska [Tue, 16 Aug 2016 15:29:26 +0000 (17:29 +0200)]
Fix string formatting in logs

Logs using C++ formatting do not conform to -Wformat-string.
Add templates, which properly handle both C++ and C formatting.

Change-Id: I0e27ece67598a93adb2c6d4e44c04b5afe091457

8 years agoUpdate version to 0.1.4 for the release 48/76248/1 accepted/tizen/3.0/common/20161114.105857 accepted/tizen/3.0/ivi/20161011.053601 accepted/tizen/3.0/mobile/20161015.032331 accepted/tizen/3.0/tv/20161016.003653 accepted/tizen/3.0/wearable/20161015.080419 accepted/tizen/common/20160623.154506 accepted/tizen/ivi/20160623.124955 accepted/tizen/mobile/20160623.124850 accepted/tizen/tv/20160623.124906 accepted/tizen/wearable/20160623.124947 submit/tizen/20160623.075500 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
jin-gyu.kim [Thu, 23 Jun 2016 07:50:58 +0000 (16:50 +0900)]
Update version to 0.1.4 for the release

Change-Id: Ifda6d527cd9b539255d0527f379847473492ebc2

8 years agoDisable askuser service 77/76177/2 accepted/tizen/ivi/20160623.124833 accepted/tizen/mobile/20160623.124743 accepted/tizen/tv/20160623.124758 accepted/tizen/wearable/20160623.124818 submit/tizen/20160623.074201
jin-gyu.kim [Thu, 23 Jun 2016 05:17:15 +0000 (14:17 +0900)]
Disable askuser service

Change-Id: I744f134aaed47f92d83ea9a1aafbefaf09861c16

8 years agoUpdate version to 0.1.3 for the release 58/75658/1 accepted/tizen/common/20160621.184308 accepted/tizen/ivi/20160621.084042 accepted/tizen/mobile/20160621.083953 accepted/tizen/tv/20160621.084010 accepted/tizen/wearable/20160621.084028 submit/tizen/20160621.015118
jin-gyu.kim [Tue, 21 Jun 2016 01:40:11 +0000 (10:40 +0900)]
Update version to 0.1.3 for the release

Change-Id: I34911494bf338708505e6104400919bb3aa1fe9e

8 years agoFix memory leak and limit max string size 82/75582/2
Oskar Świtalski [Mon, 20 Jun 2016 12:35:46 +0000 (14:35 +0200)]
Fix memory leak and limit max string size

Change-Id: I5beb23123d9f29808106662158560639c27e99fc
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoUpdate version to 0.1.2 to release 51/75151/1 accepted/tizen/common/20160617.121607 accepted/tizen/ivi/20160617.084016 accepted/tizen/mobile/20160617.084002 accepted/tizen/tv/20160617.083849 accepted/tizen/wearable/20160617.084031 submit/tizen/20160617.012647
Yunjin Lee [Fri, 17 Jun 2016 01:20:06 +0000 (10:20 +0900)]
Update version to 0.1.2 to release

Change-Id: Id1ac1284b0edffc9d1028b0fb2ab101a92d77841
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoApply ASLR on askuser 49/75149/1
Yunjin Lee [Fri, 17 Jun 2016 01:05:37 +0000 (10:05 +0900)]
Apply ASLR on askuser

Change-Id: If542fadd78e52c98670f0a620608e20771a88543
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFix setting select timeout in NotificationTalker 61/75061/1 accepted/tizen/common/20160617.121409 accepted/tizen/ivi/20160617.083525 accepted/tizen/mobile/20160617.083410 accepted/tizen/tv/20160617.083208 accepted/tizen/wearable/20160617.083620 submit/tizen/20160616.120133
Zofia Abramowska [Thu, 16 Jun 2016 11:16:42 +0000 (13:16 +0200)]
Fix setting select timeout in NotificationTalker

Change-Id: I87f3c46dfc2d6ff2f0b468ecbbb5afbaba5cd418

8 years agoSVACE - return value of strdup is lost 97/74497/1 accepted/tizen/common/20160615.193346 accepted/tizen/ivi/20160615.001755 accepted/tizen/mobile/20160615.001830 accepted/tizen/tv/20160615.001820 accepted/tizen/wearable/20160615.001817 submit/tizen/20160614.105505
jin-gyu.kim [Tue, 14 Jun 2016 10:44:33 +0000 (19:44 +0900)]
SVACE - return value of strdup is lost

Change-Id: I82195349caaa110085cc4b3c74874e6c3f5e4150

8 years agoUpdate tests 56/72856/7 accepted/tizen/common/20160610.183543 accepted/tizen/ivi/20160613.022134 accepted/tizen/mobile/20160613.022158 accepted/tizen/tv/20160613.022104 accepted/tizen/wearable/20160613.022154 submit/tizen/20160610.162825
Oskar Świtalski [Wed, 1 Jun 2016 14:48:26 +0000 (16:48 +0200)]
Update tests

Change-Id: If155880d10c731417b9b9970513c01468ded2da3

8 years agoAdjust notification talker to work as backend 54/72854/8
Zofia Abramowska [Thu, 2 Jun 2016 10:42:46 +0000 (12:42 +0200)]
Adjust notification talker to work as backend

Change-Id: I5130aab7901c12944bb41e91a359965e318d23ce

8 years agoAdd notification daemon 53/72853/8
Oskar Świtalski [Wed, 1 Jun 2016 14:45:36 +0000 (16:45 +0200)]
Add notification daemon

Change-Id: Icf5dc30074d5c538144da39e0d2b1c9c99bbdef3

8 years agoAdd socket methods 21/73321/4
Oskar Świtalski [Tue, 7 Jun 2016 05:35:29 +0000 (07:35 +0200)]
Add socket methods

Change-Id: I91b3566ec0abe2034e3a9dac29271ca5280f507a
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoAdd notification request and response 52/72852/6
Oskar Świtalski [Thu, 2 Jun 2016 10:42:07 +0000 (12:42 +0200)]
Add notification request and response

Change-Id: I3130590540d118fec365176b95df2717a84e266a

8 years agoAdd magic protocol codes 94/72394/8
Oskar Świtalski [Tue, 31 May 2016 16:24:17 +0000 (18:24 +0200)]
Add magic protocol codes

Change-Id: I9b7d1b1174f6fc467b77244012664d606693b5ae

8 years agoAdd socket path description 93/72393/8
Oskar Świtalski [Tue, 31 May 2016 14:36:52 +0000 (16:36 +0200)]
Add socket path description

Change-Id: I91769189f3034b10c1f9b5fe9725153f34c49013

8 years agoAdd some exceptions 24/72124/8
Oskar Świtalski [Mon, 30 May 2016 17:08:40 +0000 (19:08 +0200)]
Add some exceptions

Change-Id: I349de0dc50dc289854d5ac039b6e638521a7485b

8 years agoMove requestid to separate file 51/72851/4
Zofia Abramowska [Thu, 2 Jun 2016 10:31:50 +0000 (12:31 +0200)]
Move requestid to separate file

Change-Id: I23ad9c1d006b7a9116f4d841dd9048ada32a9fcf

8 years agoRestart cynara on askuser install/uninstall 50/72850/4
Oskar Świtalski [Wed, 1 Jun 2016 14:56:33 +0000 (16:56 +0200)]
Restart cynara on askuser install/uninstall

Change-Id: I37ec5df16a15edc2b6d2249e4fb4f809f226b98c

8 years agoFix service and binary names 49/72849/4
Oskar Świtalski [Wed, 1 Jun 2016 15:27:46 +0000 (17:27 +0200)]
Fix service and binary names

Change-Id: I59159eaafa0a408ccfa5c855f852793bcc4b0b30

8 years agoFix spec summaries 48/72848/4
Oskar Świtalski [Wed, 1 Jun 2016 14:49:04 +0000 (16:49 +0200)]
Fix spec summaries

Change-Id: I966eec43068f370fcb62bbacce0b3b9e7f92e1f6

8 years agoMove logs to common 23/72123/6
Oskar Świtalski [Mon, 30 May 2016 16:53:30 +0000 (18:53 +0200)]
Move logs to common

Change-Id: I45de0d27fa55204ba02ff903e3281ef32960b412

8 years agoRemove unnecessary dependencies from spec 47/72847/2
Zofia Abramowska [Thu, 2 Jun 2016 14:30:02 +0000 (16:30 +0200)]
Remove unnecessary dependencies from spec

Change-Id: Ifa7f6a1818761f50500e52a4711098914d6f64b7

8 years agoRevert "Add internal popup implementation" 46/72846/1
Zofia Abramowska [Mon, 30 May 2016 10:55:28 +0000 (12:55 +0200)]
Revert "Add internal popup implementation"

This reverts commit 6b2188f91bfadf58aa9dc852b08a209e4f970882.

Change-Id: I687e2617f4b573d20f52c9605906765224ed37f8

8 years agoUpdate release version to 1.0.1 20/62920/2 accepted/tizen/common/20160321.150734 accepted/tizen/ivi/20160321.114208 accepted/tizen/mobile/20160321.114118 accepted/tizen/tv/20160321.114135 accepted/tizen/wearable/20160321.114153 submit/tizen/20160321.060824
Yunjin Lee [Mon, 21 Mar 2016 06:03:32 +0000 (15:03 +0900)]
Update release version to 1.0.1

Change-Id: I4e69e64ee4df8968aadcca54948d58488adda562
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoReplace vulnerable functions: strerror and sprintf 32/62132/6
Yunjin Lee [Mon, 14 Mar 2016 12:29:50 +0000 (21:29 +0900)]
Replace vulnerable functions: strerror and sprintf

Change-Id: Idf4630c96d97294739e875be14999a6f4d7ddae7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRemove notification dependency 27/59427/4 accepted/tizen/common/20160310.081710 accepted/tizen/ivi/20160310.060854 accepted/tizen/mobile/20160310.060750 accepted/tizen/tv/20160310.060809 accepted/tizen/wearable/20160310.060834 submit/tizen/20160309.083015
Oskar Świtalski [Mon, 15 Feb 2016 10:15:04 +0000 (11:15 +0100)]
Remove notification dependency

Change-Id: Icfa9a8373e62e400837d3d39bb19da73becec032
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoFix minor building issues 83/59683/2
Oskar Świtalski [Wed, 17 Feb 2016 10:08:52 +0000 (11:08 +0100)]
Fix minor building issues

* added missing build requirement
* remove unused include

Change-Id: I68e95941f00efa4721866226fd6ff838cd8c711f
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoRevise dependency to fix build fail 97/57897/3 devel/ivi accepted/tizen/common/20160217.170706 accepted/tizen/ivi/20160218.023934 accepted/tizen/mobile/20160129.083354 accepted/tizen/tv/20160129.083418 accepted/tizen/wearable/20160129.083440 submit/devel/ivi/20160202.071226 submit/tizen/20160127.110348 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Yunjin Lee [Tue, 26 Jan 2016 00:34:16 +0000 (09:34 +0900)]
Revise dependency to fix build fail

Change-Id: I0784ef3bb671ddfddb3ff89a0a1e09d049c60ac8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoMerge "Add internal popup implementation" into tizen
Janusz Kozerski [Thu, 17 Dec 2015 14:56:23 +0000 (06:56 -0800)]
Merge "Add internal popup implementation" into tizen

8 years agoMerge "Change bundle_add() to bundle_add_str()" into tizen
Janusz Kozerski [Thu, 17 Dec 2015 14:55:52 +0000 (06:55 -0800)]
Merge "Change bundle_add() to bundle_add_str()" into tizen

8 years agoAdd internal popup implementation 34/50934/16
Janusz Kozerski [Tue, 3 Nov 2015 13:22:51 +0000 (14:22 +0100)]
Add internal popup implementation

Add implementation of popups using separate EFL application.
The original askuser process forks, runs popup binary, pass
the data to the popup using pipe, and collect result from popup
(via pipe and exit code).

Verification: run "askuser-test.sh run". All test should pass.

Change-Id: I22b9d172d0a44a2ddb5a875334d9d79088c95cfc

8 years agoChange bundle_add() to bundle_add_str() 41/54741/1
Janusz Kozerski [Thu, 17 Dec 2015 14:07:52 +0000 (15:07 +0100)]
Change bundle_add() to bundle_add_str()

Function bundle_add has been removed from header.

Change-Id: Ibd8b1a893a0e466eae84a389dffde5c0c58f55b4

8 years agoInclude bundle_internal.h for internal bundle apis 76/54276/1 accepted/tizen/mobile/20151217.023653 accepted/tizen/tv/20151217.023710 accepted/tizen/wearable/20151217.023737 submit/tizen/20151214.084555 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Hwankyu Jhun [Mon, 14 Dec 2015 12:00:07 +0000 (21:00 +0900)]
Include bundle_internal.h for internal bundle apis

Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them

Change-Id: I297e6ca578ab2aae9de3ab03f8b113e91a85e60d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoChanges for using new notification API. 66/40466/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0.2015.q2/common/20150615.091833 accepted/tizen/common/20150612.065903 accepted/tizen/mobile/20150615.071216 accepted/tizen/tv/20150615.071241 accepted/tizen/wearable/20150617.012830 submit/submit/tizen/20150609.020831/20150609.021355 submit/submit/tizen/20150609.074149/20150609.101349 submit/submit/tizen_mobile/20150609.015041/20150609.021256 submit/tizen/20150609.074149 submit/tizen/20150611.063059 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_mobile/20150604.063436 submit/tizen_mobile/20150612.084020 submit/tizen_tv/20150612.084103 submit/tizen_wearable/20150616.000000 submit/tizen_wearble/20150612.084038 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Kyuho Jo [Thu, 4 Jun 2015 06:16:28 +0000 (15:16 +0900)]
Changes for using new notification API.

Change-Id: I9b31bbe1bdfdfd4be10a7405721a75373ddece9b
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoAdd testing utility for askuser extensions 13/34513/10
Adam Malinowski [Wed, 28 Jan 2015 12:14:21 +0000 (13:14 +0100)]
Add testing utility for askuser extensions

This patch adds simple client binary and script in order to make
testing/verifying askuser extension easier.

This must be built with cynara built from this patch:
https://review.tizen.org/gerrit/#/c/34388/

Change-Id: I084278afe5293eb7870906293d26b88c18539b8b

9 years agoAdd needed systemd-daemon linking dependency 13/35613/2
Adam Malinowski [Thu, 19 Feb 2015 11:10:23 +0000 (12:10 +0100)]
Add needed systemd-daemon linking dependency

Change-Id: If09fd8717af9628d04e902e297ce41b0868abb05

9 years agoRelease 0.1.0 18/34518/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150128.145804 accepted/tizen/mobile/20150129.010156 accepted/tizen/tv/20150129.004912 accepted/tizen/wearable/20150129.005220 submit/tizen/20150128.140617
Adam Malinowski [Wed, 28 Jan 2015 13:55:58 +0000 (14:55 +0100)]
Release 0.1.0

Change-Id: Iea2a456b2d54840617cca92a8c247217ed75d448

9 years agoRedo logging mechanism 42/32942/12
Adam Malinowski [Tue, 30 Dec 2014 12:28:36 +0000 (13:28 +0100)]
Redo logging mechanism

Logging utility was moved from common to agent to allow plugins
use cynara logging mechanism. Agent uses its own logger separated from
cynara logs.

Change-Id: Id5d4065f25adc19056750e18aac04a6d9c3e0b67

9 years agoEnhance allow and add deny types 13/32413/11
Adam Malinowski [Wed, 17 Dec 2014 18:44:49 +0000 (19:44 +0100)]
Enhance allow and add deny types

Note: strings for buttons looks bad but there is no way to put
good looking captions because of limited size of window. Six buttons
with longer captions will not fit in window.

Change-Id: I71094d492fdf1163e06b974c837bf71d2f5435b2

9 years agoImplement stopping daemon 97/32197/14
Adam Malinowski [Wed, 10 Dec 2014 09:50:15 +0000 (10:50 +0100)]
Implement stopping daemon

This patch implements proper daemon stopping for correct handling
'systemd stop' procedure.

Change-Id: I6b0ad7d7978e5ffbe73383e5fcb27d3fe5717539

9 years agoAdd UI backend based on tizen notifications 96/32196/13
Adam Malinowski [Wed, 10 Dec 2014 09:17:06 +0000 (10:17 +0100)]
Add UI backend based on tizen notifications

Change-Id: Iec59517b8d5a55f54ca831394a12793c2ef2ae4c

9 years agoAdd internationalization and privilege translation 95/32195/13
Adam Malinowski [Wed, 10 Dec 2014 09:07:12 +0000 (10:07 +0100)]
Add internationalization and privilege translation

Change-Id: I9f903811c1ff348e430e126971d3f9cf8bb8e00d

9 years agoAdd UI handling 94/32194/12
Adam Malinowski [Tue, 2 Dec 2014 13:52:40 +0000 (14:52 +0100)]
Add UI handling

This patch introduces user interface related stuff, implements
creating UIs and handling responses from them.

Change-Id: I8899ead4d4b6222bf6c50bb51a2703502e2f7210

9 years agoAdd processing cynara requests 93/32193/11
Adam Malinowski [Mon, 1 Dec 2014 11:14:35 +0000 (12:14 +0100)]
Add processing cynara requests

This patch introduces cynara requests handling without UI stuff.

Change-Id: I5fb2158f4089c28893f59d69218a5a447c774741

9 years agoAdd cynara talker 91/32191/10
Adam Malinowski [Fri, 28 Nov 2014 22:18:13 +0000 (23:18 +0100)]
Add cynara talker

This patch introduces class for talking with cynara service.

Change-Id: Ic04b65bbfdfac920f036eab17a90c47be2dec983

9 years agoAdd Request class for representing cynara requests 90/32190/8
Adam Malinowski [Fri, 28 Nov 2014 15:40:36 +0000 (16:40 +0100)]
Add Request class for representing cynara requests

Also prepare project to integration with cynara-agent library.

Change-Id: I14e8de8137ac9458f0b7eebacbebafeaba5ee788

9 years agoFix installing plugins 89/32189/5
Adam Malinowski [Tue, 16 Dec 2014 11:08:44 +0000 (12:08 +0100)]
Fix installing plugins

Directory %{_libdir}/cynara/plugin/ belongs to cynara so RPM gives
conflict error. Files must be installed in leaf directories.

Change-Id: I530235aa7da4f0be73ae1102a8b048e76efd505b

9 years agoAdjust plugins to new plugin API 41/32941/3
Adam Malinowski [Mon, 29 Dec 2014 17:19:26 +0000 (18:19 +0100)]
Adjust plugins to new plugin API

A change has been introduced in cynara plugin API.
getSupportedPolicyTypes was removed and getSupportedPolicyDescr
was added. This patch adapts ask user plugins to new API.

Change-Id: I4b2e7ee1b12f120f2e414b927620239ab0191c19

9 years agoAdd deny types 53/31753/8
Zofia Abramowska [Mon, 8 Dec 2014 14:45:21 +0000 (15:45 +0100)]
Add deny types

Change-Id: Ife48273f31f8a07e719d9b8037ed52a1fc2f5b5e

9 years agoAdd AskUser cynara client and server side plugins 80/31180/10
Zofia Abramowska [Mon, 1 Dec 2014 17:47:14 +0000 (18:47 +0100)]
Add AskUser cynara client and server side plugins

Change-Id: Id6d30097eac100c5462c60b5bac7c41c3a39f6a7

9 years agoAdd translation methods between agent<->cynara<->plugin 42/31042/7
Zofia Abramowska [Mon, 1 Dec 2014 15:58:10 +0000 (16:58 +0100)]
Add translation methods between agent<->cynara<->plugin

Change-Id: Ifd24baca36d9afed2b5201b44054d03584216f22

9 years agoAdd main agent class 12/31012/3
Adam Malinowski [Fri, 28 Nov 2014 13:00:01 +0000 (14:00 +0100)]
Add main agent class

Agent class has been added and its usage in main.cpp file.

Change-Id: Iaec77d164c966a389df97e415febdca6622dc082

9 years agoInitial commit 00/31000/3
Adam Malinowski [Fri, 7 Nov 2014 10:29:37 +0000 (11:29 +0100)]
Initial commit

Add basic structure of project

Change-Id: Idc98fcc1c194562c23b354986d190fb8f20fca75

9 years agoInitial empty repository
Sriram Ramkrishna [Mon, 17 Nov 2014 21:53:05 +0000 (13:53 -0800)]
Initial empty repository