New answers tagged

2

Taking a look at the specific source code piece(GoogleDrive.java) that handles credential file creation/initialization, I found this: Line 449: /** Directory to store user credentials. */ private final java.io.File DATA_STORE_DIR; Line 473: public GoogleDrive(Properties configuration) { DATA_STORE_DIR = new java.io.File("data/google/" + ...


2

Unfortunately, what is commonly done is simply to share account credentials. When possible, it is advised to have a super admin account with a manager who is not responsible for using the service directly (separation of duties) so that the active admins can come and go while management of the admins is done through a separate account. When not possible, a ...


0

I suspect that dac and mac are distinct enough that if you tried to minimize the code using common infrastructure, the amount of shared code would be small. Personally I'd do them separately, and then review and flag anything taht looked too similar...



Top 50 recent answers are included