mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-10-31 02:27:49 +00:00 
			
		
		
		
	WIFI-1529: CP: Open+Radius Captive Portal Auth doesn't work
This commit is contained in:
		| @@ -1011,11 +1011,12 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra | ||||
|                 ret.setHotspotConfig(hotspotConfig); | ||||
|             } | ||||
|  | ||||
|             ret.setRadiusProfiles(new ArrayList<>(radiusSet)); | ||||
|             ret.setCaptiveProfiles(profileServiceInterface.get(captiveProfileIds)); | ||||
|             for (Profile captivePortal : ret.getCaptiveProfiles()) { | ||||
|                 radiusSet.addAll(profileContainer.getChildrenOfType(captivePortal.getId(), ProfileType.radius)); | ||||
|             } | ||||
|             ret.setRadiusProfiles(new ArrayList<>(radiusSet)); | ||||
|  | ||||
|             ret.setBonjourGatewayProfiles(profileServiceInterface.get(bonjourGatewayProfileIds)); | ||||
|  | ||||
|             List<Client> blockedClients = clientServiceInterface.getBlockedClients(customerId); | ||||
| @@ -1023,7 +1024,9 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra | ||||
|             if ((blockedClients != null) && !blockedClients.isEmpty()) { | ||||
|                 blockedClients.forEach(client -> blockList.add(client.getMacAddress())); | ||||
|             } | ||||
|              | ||||
|             ret.setBlockedClients(blockList); | ||||
|             ret.setRadiusProfiles(new ArrayList<>(radiusSet)); | ||||
|  | ||||
|             LOG.debug("ApConfig {}", ret); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mike Hansen
					Mike Hansen