~thomas-voss/media-hub/externalize-all-dependencies

Viewing all changes in revision 111.

  • Committer: thomas-voss
  • Date: 2014-11-26 16:23:19 UTC
  • Revision ID: thomas.voss@canonical.com-20141126162319-4xid440c3q26av1c
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}.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: