Package org.eblocker.server.http.service
Class SSLWhitelistService
java.lang.Object
org.eblocker.server.http.service.SSLWhitelistService
- All Implemented Interfaces:
Observer
-
Constructor Summary
ConstructorsConstructorDescriptionSSLWhitelistService(String sslWhitelistOnlyDomainsFilePath, String whitelistIPsFilePath, String userAddList, String userRemoveList, SquidReloadingService squidReloadingService, AppModuleService appModuleService) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a domain to the SSL domain whitelistvoidremoveDomain(String url) Remove a domain from the listvoidupdate(Observable observable, Object object)
-
Constructor Details
-
SSLWhitelistService
@Inject public SSLWhitelistService(String sslWhitelistOnlyDomainsFilePath, String whitelistIPsFilePath, String userAddList, String userRemoveList, SquidReloadingService squidReloadingService, AppModuleService appModuleService)
-
-
Method Details
-
addDomain
Add a domain to the SSL domain whitelist- Parameters:
url- the domainname- the name of the owner or company or whatever owning the domain (can also be null)- Throws:
EblockerException
-
removeDomain
Remove a domain from the list- Parameters:
url-
-
update
-