question

Upvotes
Accepted
15 3 3 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 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
25k 87 11 23

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 512.0 KiB each and 1.0 MiB total.