@Addressing(enabled=true, required=true) @BindingType(value="http://www.w3.org/2003/05/soap/bindings/HTTP/") public class DiscoveryServiceImpl extends Object implements DiscoveryService
| Constructor and Description |
|---|
DiscoveryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
discover(DiscoveryRequest discoveryRequest,
Holder<DiscoveryResponse> response)
This method returns the OnPremise AuthPolicy and next two endpoint the mobile device should
call if this response to received successfully at the device end.
|
String |
getAuthPolicy()
Get authentication policy from the tenant configuration, otherwise set default value as Federated.
|
public static final String FEDERATED
public void discover(DiscoveryRequest discoveryRequest, Holder<DiscoveryResponse> response) throws WindowsDeviceEnrolmentException
discover in interface DiscoveryServicediscoveryRequest - - Request bean comes via mobile phoneresponse - - DiscoveryResponse bean for responseWindowsDeviceEnrolmentExceptionpublic String getAuthPolicy() throws WindowsDeviceEnrolmentException
WindowsDeviceEnrolmentExceptionCopyright © 2017 WSO2. All rights reserved.