fixing issue in different type of windows device payloads

revert-dabc3590
Hasunie 8 years ago
parent 8655da595e
commit 4c4fd00593

@ -68,8 +68,8 @@ public class DiscoveryServiceImpl implements DiscoveryService {
String emailId = discoveryRequest.getEmailId(); String emailId = discoveryRequest.getEmailId();
String[] userDomains = emailId.split(DELIMITER); String[] userDomains = emailId.split(DELIMITER);
String domain = userDomains[DOMAIN_SEGMENT]; String domain = userDomains[DOMAIN_SEGMENT];
String osVersion = discoveryRequest.getOsEdition(); String applicationVersion = discoveryRequest.getApplicationVersion();
String[] osVersions = osVersion .split("."); String[] osVersions = applicationVersion .split("\\.");
String os = osVersions[0]; String os = osVersions[0];
DiscoveryResponse discoveryResponse; DiscoveryResponse discoveryResponse;
if (PluginConstants.WindowsVersionProperties.OS_VERSION.equals(os) && FEDERATED.equals(getAuthPolicy())) { if (PluginConstants.WindowsVersionProperties.OS_VERSION.equals(os) && FEDERATED.equals(getAuthPolicy())) {

Loading…
Cancel
Save