Forum Discussion
Mike_Rodrigues
4 days agoProduct Manager
If you only need to check one port per device, you could swap out the hardcoding with a reference to a property, and then set that property accordingly. You could even get a bit fancy and have it default to 443 if the property you're asking for does not exist.
// This is directly from a Jabber DS I wrote years ago. If my.port does not exist, it defaults to 443.
port = hostProps.get("my.port") ?: "443"
// the other one is messier, I would do this:
my_port = hostProps.get("my.port") ?: "443"
if(port == my_port) {
- Kelemvor3 days agoExpert
All these checks are on one device. Just different instances within the vip ssl certs module.
Related Content
- 2 years ago
- 2 years agoAnonymous
- 12 months ago