[ 
https://issues.apache.org/jira/browse/MESOS-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Till Toenshoff updated MESOS-2005:
----------------------------------
    Description: 
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 process::Future<bool> authenticate(
      const process::UPID& pid, 
      const process::UPID& client,
      const mesos::Credential& credential) = 0;
};
{noformat}

  was:
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 mesos::Credential& credential) = 0;

  virtual process::Future<bool> authenticate(const process::UPID& pid) = 0;
};
{noformat}


> 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 process::Future<bool> authenticate(
>       const process::UPID& pid, 
>       const process::UPID& client,
>       const mesos::Credential& credential) = 0;
> };
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to