platform/core/security/askuser.git
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