public final class LiveIDManager extends Object
Constructor and Description |
---|
LiveIDManager() |
Modifier and Type | Method and Description |
---|---|
MicrosoftOnlineSecurityData |
authenticateWithLiveID(String crmUrl,
String liveIDUsername,
String liveIDPassword,
String appliesTo,
String policy,
URI issuerUri,
org.apache.http.impl.client.HttpClientBuilder clientBuilder)
This method demonstrate authentication with Live Id using soap
and retrieve security data containing key identifier and security tokens.
|
public MicrosoftOnlineSecurityData authenticateWithLiveID(String crmUrl, String liveIDUsername, String liveIDPassword, String appliesTo, String policy, URI issuerUri, org.apache.http.impl.client.HttpClientBuilder clientBuilder) throws SAXException, ParserConfigurationException, DeviceRegistrationFailedException, IOException, XPathExpressionException
crmUrl
- CRM organization service url.liveIDUsername
- User Name that should be used to connect to the server.liveIDPassword
- Password that should be used to connect to the server.appliesTo
- Indicates the AppliesTo that is required for the tokenpolicy
- Policy that should be used when communicating with the server.issuerUri
- URL for the current token issuerSAXException
ParserConfigurationException
DeviceRegistrationFailedException
IOException
XPathExpressionException
Copyright © 2010–2017. All rights reserved.