vtslab commented on pull request #1308: URL: https://github.com/apache/tinkerpop/pull/1308#issuecomment-716359919
The latest commits bring the PR somewhat closer to a completion. Apart from being more complete, the following points were addressed: - the AuthorizedUser was removed from the Authorizer API. As also remarked by QwentB, it had no function. - a mechanism was added to facilitate interaction between the Authorizer and Authentication implementations (to support one-pass interrogation of an external access control service), by means of the AuthenticatorAuthorizer interface. Actually, I am still in doubt whether this is the best solution because it lays the burden on the TinkerPop code. Alternatives are there, e.g. by implementing the Authenticator as a singleton or even via the network. Any thoughts? Thanks, @QwentB, for your patient explanation about ABAC. Indeed, if authorization is very granular, this cannot be supported with static GraphTraversalSources. So, now I support your suggestion to have authorize() return a RequestMessage and passing this on into the pipeline. Although this makes the pipeline less transparent, there is already a (necessary) precedent in tossing around with the RequestMessage in the SaslAuthenticationHandler. @spmallette, agree? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
