GithubHelp home page GithubHelp logo

Comments (5)

aragilar avatar aragilar commented on July 23, 2024 1

Yep, this is subscription client side (as the JWT can be handled by apache or whatever server side). So yeah, this requires #8.

I suspect there's going to be a bunch of iteration on the design (I have a hacky plan which I don't like, but I want to have a try to get a feeling for how this goes). I created the issue mainly so people are aware of the new changes, and if they have a need to use this auth framework also, they can pitch in ideas/suggestions.

from ngas.

rtobar avatar rtobar commented on July 23, 2024

Hi @aragilar, thanks for the initiative! When I first read your description I thought you were planning to modify the way you do authentication on the NGAS server side when receiving archive/retrieve/status/etc requests, but after reading a couple of times I got the impression this is more a feature you want to add only on the client side of the subscription service. Could you clarify your original intent?

If you are planning to modify the server side: this work would have two parts: first, adding the framework to allow for arbitrary authentication methods (config bits, module loading, existing code refactoring into new module, etc); then building on that there would be a new JWT-based authentication module. In that case the first part of the work would be independent of #8, and thus could be implemented and tested separately, while the second would be more specific and bound to #8.

If you are planning to modify the subscription client side: I guess this does indeed build on top of #8 no matter what, and indeed you'd have to wait until that is finished.

If you are planning to modify both: well, it's a mixture of the above I guess...

Please be aware that the whole subscription service needs a proper cleanup. You will find an old-ish branch called subscription_thread_ng that I started some time ago with a complete rework of the subscription logic to make it easier to follow and maintain, but ensuring backwards compatibility is always hard, and I haven't had the time to finally merge that back into the master. In any case, any new logic you add to the subscription service (and that applies to #8) we'd eventually merge into the new subscription thread implementation.

from ngas.

aragilar avatar aragilar commented on July 23, 2024

Uh, silly question but where is the subscription_thread_ng, I can't see it on github (whether on this repo, or on any of the forks)?

from ngas.

rtobar avatar rtobar commented on July 23, 2024

My bad, it was actually only in my computer, I'm pushing it now

from ngas.

aragilar avatar aragilar commented on July 23, 2024

It looks like this wasn't automatically closed by #15, closing now.

from ngas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.