-
Committer:
CI Train Bot
-
Author(s):
thomas-voss, Ricardo Mendoza, Ricardo Salveti de Araujo
-
Date:
2015-03-20 13:16:11 UTC
-
mfrom:
(98.10.14 introduce-apparmor-interfaces)
-
Revision ID:
ci-train-bot@canonical.com-20150320131611-h7iewob7yy1ijvzv
Add an interface apparmor::ubuntu::RequestAuthenticator that is used to authenticate incoming open uri requests.
Add an interface apparmor::ubuntu::RequestContextResolver that is used to resolve a dbus name to an apparmor::ubuntu::Context.
Provide an implementation apparmor::ubuntu::ExistingAuthenticator that takes the impl. from player_skeleton.cpp and uses it to implement the interface.
Provide an implementation apparmor::ubuntu::RequestContextResolver that reaches out to the dbus daemon to resolve a given bus name to an apparmor profile.
Remove obsolete query for the apparmor profile in ServiceSkeleton.
Adjust the implementation in media::PlayerSkeleton to rely on Request{Authenticator, ContextResolver}.