question

Upvotes
Accepted
15 3 1 4

AuthorizationMCSystem vs. AuthorizationSystem

I understand that AuthorizationMCSystem can be used for maintaining multiple connections with DACS daemons, for fault tolerance purposes. However, based on the Java docs of the Java SDK, it looks like plain AuthorizationSystem also supports a list of "host:port" entries for the "dacs.daemon" property. What is the difference between the two classes?

DACSopen-dacs
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
20.3k 73 10 20

When specifying multiple hosts with AuthorizationSystem , this acts as a failover, in case it cannot connect to the 1st host in the list, it will try the next one in the list - but only a connection to a single site is maintained.

As you pointed out AuthorizationMCSystem is for when you wish to maintain connections to multiple sites.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea