mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 02:57:49 +00:00
WIFI-835: Captive Portal: User List Authentication feature does not work unless user list is pushed to cloud manually.
avoid adding https:// to externalFilestoreURL.
This commit is contained in:
@@ -686,20 +686,15 @@ public class OvsdbSsidConfig extends OvsdbDaoBase {
|
||||
mfi.setFileType(FileType.TEXT);
|
||||
mfi.setApExportUrl(userFilepath.getFileName().toString());
|
||||
captiveMap
|
||||
.put("username_password_file",
|
||||
ManagedFileInfo.resolveWithPopulatedHostname(
|
||||
mfi, externalFileStoreURL)
|
||||
.getApExportUrl());
|
||||
.put("username_password_file", externalFileStoreURL + mfi.getApExportUrl());
|
||||
}
|
||||
if (captiveProfileDetails.getLogoFile() != null) {
|
||||
captiveMap.put("splash_page_logo", ManagedFileInfo
|
||||
.resolveWithPopulatedHostname(captiveProfileDetails.getLogoFile(), externalFileStoreURL)
|
||||
.getApExportUrl());
|
||||
captiveMap.put("splash_page_logo", externalFileStoreURL +
|
||||
captiveProfileDetails.getLogoFile().getApExportUrl());
|
||||
}
|
||||
if (captiveProfileDetails.getBackgroundFile() != null) {
|
||||
captiveMap.put("splash_page_background_logo",
|
||||
ManagedFileInfo.resolveWithPopulatedHostname(captiveProfileDetails.getBackgroundFile(),
|
||||
externalFileStoreURL).getApExportUrl());
|
||||
externalFileStoreURL + captiveProfileDetails.getBackgroundFile().getApExportUrl());
|
||||
}
|
||||
LOG.debug("captiveMap {}", captiveMap);
|
||||
walledGardenAllowlist.addAll(captiveProfileDetails.getWalledGardenAllowlist());
|
||||
|
||||
Reference in New Issue
Block a user