[ https://issues.apache.org/jira/browse/MESOS-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198609#comment-14198609 ]
Till Toenshoff commented on MESOS-2005: --------------------------------------- https://reviews.apache.org/r/27494/ > 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 > Assignee: Till Toenshoff > Priority: Blocker > Labels: authentication, interface, module > > h4.Motivation > Design an interface covering authenticatee modules while staying minimally > invasive in regards to changes on the existing CRAM-MD5 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)