Till Toenshoff created MESOS-2005:
-------------------------------------
Summary: Authenticatee Module: Interface design
Key: MESOS-2005
URL: https://issues.apache.org/jira/browse/MESOS-2005
Project: Mesos
Issue Type: Improvement
Components: modules
Reporter: Till Toenshoff
Priority: Blocker
h4.Motivation
Design an interface covering authenticatee modules while staying minimal
invasive in regards to changes on the existing flat-file Authenticatee
implementation.
h4.Status Quo
See MESOS-1891 but replace Authenticator with Authenticatee.
h4.Design
{noformat}
class Authenticatee
{
public:
Authenticatee() {}
virtual ~Authenticatee() {}
virtual Try<Nothing> initialize(
const process::UPID& clientPid,
const Option<mesos::Credential>& credential) = 0;
virtual process::Future<bool> authenticate(const process::UPID& pid) = 0;
};
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)