@Override protected void loadFrom(Device device, Attributes attrs) throws NamingException, CertificateException { super.loadFrom(device, attrs); if (!hasObjectClass(attrs, "dcmDevice")) return; device.setLimitOpenAssociations(intValue(attrs.get("dcmLimitOpenAssociations"), 0)); device.setTrustStoreURL(stringValue(attrs.get("dcmTrustStoreURL"), null)); device.setTrustStoreType(stringValue(attrs.get("dcmTrustStoreType"), null)); device.setTrustStorePin(stringValue(attrs.get("dcmTrustStorePin"), null)); device.setTrustStorePinProperty(stringValue(attrs.get("dcmTrustStorePinProperty"), null)); device.setKeyStoreURL(stringValue(attrs.get("dcmKeyStoreURL"), null)); device.setKeyStoreType(stringValue(attrs.get("dcmKeyStoreType"), null)); device.setKeyStorePin(stringValue(attrs.get("dcmKeyStorePin"), null)); device.setKeyStorePinProperty(stringValue(attrs.get("dcmKeyStorePinProperty"), null)); device.setKeyStoreKeyPin(stringValue(attrs.get("dcmKeyStoreKeyPin"), null)); device.setKeyStoreKeyPinProperty(stringValue(attrs.get("dcmKeyStoreKeyPinProperty"), null)); }