Comments (5)
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.
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.
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.
My bad, it was actually only in my computer, I'm pushing it now
from ngas.
It looks like this wasn't automatically closed by #15, closing now.
from ngas.
Related Issues (20)
- ngamsServer and ngamsDaemon use different PID files HOT 1
- NGAMS python client --server option bug HOT 1
- Checksum calculation mismatch failure on python 3 HOT 3
- Improve path computation fixed in #80
- Deprecated function calls in src/ngamsCore/ngamsLib HOT 4
- ngamsDapiStatus attribute __ioTime: Integer vs. Float HOT 1
- ngamsCore/ngamsLib/logutils.py inconsistent types of local variable HOT 1
- ngamsCore, function isoTime2Secs() mixes Integers and Floats HOT 1
- ngamsUDT/ngamsUDTSender.py not Python3 ready HOT 1
- ngamsUtils/ngamsUtils/ngasUtilsLib.py, function decrypt_access_code() is broken HOT 2
- There is no six.input() function HOT 1
- base64 decoding of DB password is incorrect Python3 code HOT 1
- Insufficient error checks in get_db_parameters() function HOT 2
- more Python3-related changes to ngamsUtils/ngamsUtils/ngasXSyncTool.py HOT 1
- Python3-related fixes to ngamsUtils/ngamsUtils/ngasVerifyCloning.py HOT 1
- Python3-related issues in ngamsUtils/ngamsUtils/ngasCheckFileCopies.py HOT 2
- Defunct (Janitor) process after OFFLINE,ONLINE (or INIT) HOT 2
- QUERY/files command does not support UseFileIgnore=false HOT 4
- Backward compatible checksum variant HOT 5
- XML response contains invalid link to NgamsStatus DTD HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngas.