* and availability-enabled in web-container-availability is "true"
* and persistence-type is "HA" or "Replicated"
* otherwise, return false.
*/
private static boolean getSsoFailoverEnabled() {
ServerConfigLookup serverConfigLookup = new ServerConfigLookup();
boolean webContainerAvailabilityEnabled =
serverConfigLookup.getWebContainerAvailabilityEnabledFromConfig();
boolean isSsoFailoverEnabled =
serverConfigLookup.getSsoFailoverEnabledFromConfig();
boolean isPersistenceTypeOkForFailover =
isPersistenceTypeHAOrReplicated();
if(_logger.isLoggable(Level.FINEST)) {
_logger.finest("EESSOFactory : WebContainerAvailabilityEnabled = " + webContainerAvailabilityEnabled);
_logger.finest("EESSOFactory : SSOFailoverEnabled = " + isSsoFailoverEnabled);