mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Toenshoff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2005) Authenticatee Module: Interface design
Date Wed, 05 Nov 2014 16:36:36 GMT

    [ 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)

Mime
View raw message