Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2005

Authenticatee Module: Interface design

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Implemented
    • None
    • None
    • modules

    Description

      Motivation

      Design an interface covering authenticatee modules while staying minimally invasive in regards to changes on the existing CRAM-MD5 Authenticatee implementation.

      Status Quo

      See MESOS-1891 but replace Authenticator with Authenticatee.

      Design

      class Authenticatee
      {
      public:
        Authenticatee() {}
        virtual ~Authenticatee() {}
      
        virtual process::Future<bool> authenticate(
            const process::UPID& pid, 
            const process::UPID& client,
            const mesos::Credential& credential) = 0;
      };
      

      Attachments

        Activity

          People

            tillt Till Toenshoff
            tillt Till Toenshoff
            Adam B Adam B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: