Hi everyone.
I tested it as follows.
1. I have tested it with a “MultiSiteViewer” project.
2. One milestone server exists and creates two basic accounts.(testuser01, testuser02)
3. Set different camera permissions for each account.
-
LogIn as testuser01.(Use “Add Site” Button)
-
Check camera list.(Use “Select Camera…” Button)
6. Logout. Delete the site.(Use “Remove Site” Button)
-
LogIn as testuser02.(Use “Add Site” Button)
-
Check camera list.(Use “Select Camera…” Button)
I do not see a list of cameras in current account(testuser02).
The list of cameras from the old account is retained.
After debugging in detail, I guess the following.
This is because the authentication cache is not deleted.(CredentialCache Class)
How do I delete or initialize authentication cache?
Thank you.