Closed William-Hill closed 5 years ago
What is the use case for more than one user? Not to say it shouldn't be done but so far I'm not aware of this need in our deployment.
@sashakames It's part of the classic installer in the setup_tds() function. I really don't see the use case of it but I left it in because it was in 2.x. If you think it isn't used, I can remove it altogether
I remember the interface now. I think its reasonable to leave the implementation to future work if a need arises. I think there might have been the idea that more than a single "publisher" might need to reinitialize the thredds catalog (the only operation with the tomcat basic auth). But none to my knoweldge
@sashakames Ok, I'll remove the code for adding additional users for now.
In Thredds.py, the add_tomcat_user() function is very clunky. It makes a call to add_another_user() which checks for a property in esgf.properties. This should be redesigned to where the tomcat.user key in esgf.properties can accept a comma separated list of users and then parse that list to create the users.