| java.lang.Object |
| ↳ |
org.mule.module.dynamicscrm.security.LiveIDManager |
Class Overview
Management utility for the Live Id.
Summary
| Public Methods |
|
SecurityData
|
authenticateWithLiveID(String crmUrl, String liveIDUsername, String liveIDPassword, String appliesTo, String policy, URI issuerUri)
This method demonstrate authentication with Live Id using soap
and retrieve security data containing key identifier and security tokens.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
final
String
DeviceTokenTemplate
Constant Value:
" http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue http://Passport.NET/tb %s %s http://schemas.xmlsoap.org/ws/2005/02/trust/Issue http://Passport.NET/tb "
private
final
String
SecurityTokenSoapTemplate
Constant Value:
" http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue urn:uuid:%s http://www.w3.org/2005/08/addressing/anonymous http://Passport.NET/tb %s %s http://Passport.NET/STS %s %s http://schemas.xmlsoap.org/ws/2005/02/trust/Issue "
Public Constructors
Public Methods
public
SecurityData
authenticateWithLiveID
(String crmUrl, String liveIDUsername, String liveIDPassword, String appliesTo, String policy, URI issuerUri)
This method demonstrate authentication with Live Id using soap
and retrieve security data containing key identifier and security tokens.
Parameters
| 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 token |
| policy
| Policy that should be used when communicating with the server. |
| issuerUri
| URL for the current token issuer |
Protected Methods
protected
static
RequestDateTimeData
getRequestDateTime
()
Get current and 5 minutes later GMT time in simple date format. e.g. "yyyy-MM-dd'T'HH:mm:ss"