Class: Sunspot4R::SecurityServiceClient
- Inherits:
-
BaseSunspotServiceClient
- Object
- Savon::Client
- BaseSunspotServiceClient
- Sunspot4R::SecurityServiceClient
- Defined in:
- lib/sunspot4r/security_service_client.rb
Overview
TODO Documentation
Instance Attribute Summary
Attributes inherited from BaseSunspotServiceClient
Instance Method Summary collapse
-
#console_login(username, password) ⇒ Object
Logs a user into Sunspot with a Console account and returns a ConsoleLoginResult object.
-
#portal_login(association_guid, username, password) ⇒ Object
Logs a user into Sunspot with a Portal account and returns a PortalLoginResult object.
-
#service_name ⇒ Object
Name of the Sunspot service.
Methods inherited from BaseSunspotServiceClient
Constructor Details
This class inherits a constructor from Sunspot4R::BaseSunspotServiceClient
Instance Method Details
#console_login(username, password) ⇒ Object
Logs a user into Sunspot with a Console account and returns a ConsoleLoginResult object.
Response body XML:
<ConsoleLoginResponse xmlns="http://sunspot.arcsolutionsinc.com/Services">
<ConsoleLoginResult xmlns:a="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Results" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:ApiFaults xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API"/>
<a:Errors xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.Types"/>
<a:Exception i:nil="true" xmlns:b="http://schemas.datacontract.org/2004/07/System"/>
<a:Success>true</a:Success>
<a:AutoLoginHash>634058740546510610|0d10000008e3422893b32d07cb9a92f7ni1VZG+JIOAEF07B+kJvAFka89o0NThiMGQxMzhiNTZkYjA4YzcyYzliMzM2MmQzZjU4ZQ==</a:AutoLoginHash>
<a:NextShortcut xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Objects.Command">
<b:AdditionalInformation xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<b:CommandName>Console.Home</b:CommandName>
<b:CommandSessionID i:nil="true"/>
<b:ContextGuid>0556b99c-f967-476e-b7cb-85524a5fa947</b:ContextGuid>
<b:InstanceUrl>https://live.connect.daxko.com/</b:InstanceUrl>
<b:Key i:nil="true"/>
<b:Label i:nil="true"/>
<b:PortalEndpointGuid i:nil="true"/>
<b:State>Start</b:State>
<b:TransferredCommandSessionID i:nil="true"/>
<b:Url>https://live.connect.daxko.com/CommandDispatch.aspx?cmd=Console.Home&context=0556b99c-f967-476e-b7cb-85524a5fa947&state=Start&userKey=634057024546510610%7c0d10000008e3422893b32d07cb9a92f7SLAEP%2frcllHE%2bDD1HqnICyAuE5o0NThiMGQxMzhiNTZkYjA4YzcyYzliMzM2MmQzZjU4ZQ%3d%3d</b:Url>
<b:UserKey>634057024546510610|0d10000008e3422893b32d07cb9a92f7SLAEP/rcllHE+DD1HqnICyAuE5o0NThiMGQxMzhiNTZkYjA4YzcyYzliMzM2MmQzZjU4ZQ==</b:UserKey>
</a:NextShortcut>
<a:SessionGuid>bd6a42fb-bb90-4556-b5e6-474d0f3e8b41</a:SessionGuid>
<a:SunspotUri i:nil="true"/>
<a:User xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Objects.Base">
<b:CanUpsert>true</b:CanUpsert>
<b:Fields xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:KeyValueOfstringanyType>
<c:Key>Parent_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">09d00000-e45e-49b7-99f5-4880a03b2276</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Parent_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Army Engineer Association</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Parent_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Customer</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Customer_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">09d00000-e45e-49b7-99f5-4880a03b2276</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Customer_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Customer</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Customer_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Army Engineer Association</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>HomeCommand</c:Key>
<c:Value i:type="d:CommandShortcut" xmlns:d="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Objects.Command">
<d:AdditionalInformation/>
<d:CommandName i:nil="true"/>
<d:CommandSessionID i:nil="true"/>
<d:ContextGuid i:nil="true"/>
<d:InstanceUrl i:nil="true"/>
<d:Key i:nil="true"/>
<d:Label i:nil="true"/>
<d:PortalEndpointGuid i:nil="true"/>
<d:State>Start</d:State>
<d:TransferredCommandSessionID i:nil="true"/>
<d:Url>/CommandDispatch.aspx?cmd=&context=&state=Start</d:Url>
<d:UserKey i:nil="true"/>
</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>SunspotAPIAccessAllowed</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>DataLoaderAccessAllowed</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LoginID</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">tsummerville-aeae-console</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>DisplayName</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Tony Summerville</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>FirstName</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastName</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Email</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">[email protected]</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Password</c:Key>
<c:Value i:nil="true"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>PasswordBytes</c:Key>
<c:Value i:type="d:base64Binary" xmlns:d="http://www.w3.org/2001/XMLSchema">172H1Yvbgm0xMvV/6sOfmV5J1U42MjM1Y2YxZTlkZjNjNjM0NmJmM2JjNjgzNDVkNmY1Yw==</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Culture</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">en</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>TimeZone</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">CST</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>IsActive</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">true</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>MustUpdatePassword</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>IsDeleted</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedBy_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">0d100000-087f-454e-b004-e54e93bf532f</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedBy_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">User</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedBy_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedDate</c:Key>
<c:Value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2010-03-26T09:58:54-04:00</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedBy_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">0d100000-087f-454e-b004-e54e93bf532f</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedBy_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">User</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedBy_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedDate</c:Key>
<c:Value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2010-03-26T10:00:06-04:00</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>SystemModstamp</c:Key>
<c:Value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2010-03-26T10:00:06-04:00</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">0d100000-08e3-4228-93b3-2d07cb9a92f7</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Locked</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>ExistsInRepository</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">true</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>RepositoryKey</c:Key>
<c:Value i:type="d:long" xmlns:d="http://www.w3.org/2001/XMLSchema">13683</c:Value>
</c:KeyValueOfstringanyType>
</b:Fields>
<b:Namespace>ARC.Polaris.Domain.Supporting.Security</b:Namespace>
<b:ParentTypes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:string>ConsoleUser</c:string>
<c:string>User</c:string>
<c:string>SystemDomainObject</c:string>
<c:string>AggregateDomainObject</c:string>
<c:string>DomainObject</c:string>
</b:ParentTypes>
<b:Type>CustomerUser</b:Type>
<b:_canUpsert>true</b:_canUpsert>
</a:User>
</ConsoleLoginResult>
</ConsoleLoginResponse>
212 213 214 215 216 217 218 219 220 221 |
# File 'lib/sunspot4r/security_service_client.rb', line 212 def console_login(username, password) response = call :console_login! do |soap| soap.body = { "wsdl:userName" => username, "wsdl:password" => password, :order! => ["wsdl:userName", "wsdl:password"] } end response.to_hash[:console_login_response][:console_login_result] end |
#portal_login(association_guid, username, password) ⇒ Object
Logs a user into Sunspot with a Portal account and returns a PortalLoginResult object.
Response body XML:
<PortalLoginResponse xmlns="http://sunspot.arcsolutionsinc.com/Services">
<PortalLoginResult xmlns:a="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Results" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:ApiFaults xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API"/>
<a:Errors xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.Types"/>
<a:Exception i:nil="true" xmlns:b="http://schemas.datacontract.org/2004/07/System"/>
<a:Success>true</a:Success>
<a:AutoLoginHash>duCft90CUX%2bYk5u6hVrzlQ%3d%3d</a:AutoLoginHash>
<a:NextShortcut i:nil="true" xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Objects.Command"/>
<a:SessionGuid>a5fea11c-1294-471b-b222-c588364d0466</a:SessionGuid>
<a:SunspotUri i:nil="true"/>
<a:User xmlns:b="http://schemas.datacontract.org/2004/07/ARC.Polaris.Common.API.Objects.Base">
<b:CanUpsert>true</b:CanUpsert>
<b:Fields xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:KeyValueOfstringanyType>
<c:Key>RepositoryKey</c:Key>
<c:Value i:type="d:long" xmlns:d="http://www.w3.org/2001/XMLSchema">279589</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>AdditionalEntities</c:Key>
<c:Value i:type="b:ArrayOfPolarisObject"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LoginID</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">tsummerville-aeae</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>FirstName</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastName</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Email</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">[email protected]</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>PasswordBytes</c:Key>
<c:Value i:type="d:base64Binary" xmlns:d="http://www.w3.org/2001/XMLSchema">172H1Yvbgm0xMvV/6sOfmV5J1U42MjM1Y2YxZTlkZjNjNjM0NmJmM2JjNjgzNDVkNmY1Yw==</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Culture</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">en</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>TimeZone</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">CST</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>ExternalId</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">tsummerville-aeae</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>IsActive</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">true</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Comments</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Testing the comment field...</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>MustUpdatePassword</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>MustUpdateProfile</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Locked</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>IsDeleted</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">false</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedDate</c:Key>
<c:Value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2010-03-26T09:56:16-04:00</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedDate</c:Key>
<c:Value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2010-03-26T09:56:16-04:00</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>SystemModstamp</c:Key>
<c:Value i:type="d:dateTime" xmlns:d="http://www.w3.org/2001/XMLSchema">2010-03-26T09:56:16-04:00</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Association_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">0556b99c-f967-476e-b7cb-85524a5fa947</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Association_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Association</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Association_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">AEA Events</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">04985524-5c78-4ec7-9a2d-d8ce24942397</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Entity_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">00685524-e0fb-4a55-880f-ad9c6cdb90ab</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Entity_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Entity</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Entity_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedBy_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">0d100000-087f-454e-b004-e54e93bf532f</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedBy_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">User</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>CreatedBy_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedBy_Guid</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">0d100000-087f-454e-b004-e54e93bf532f</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedBy_Type</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">User</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>LastModifiedBy_Name</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Summerville, Tony</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Impersonator</c:Key>
<c:Value i:nil="true"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>ReturnUrl</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">https://live.connect.daxko.com/commandDispatch.aspx?cmd=Portal.Home&context=04785524-a59c-4623-8dcb-9e8d5bc06070&userKey=634215279700117842%7c049855245c784ec79a2dd8ce24942397v6TDZKuNn0VFdFm1kkJQR7gl1UI0NThiMGQxMzhiNTZkYjA4YzcyYzliMzM2MmQzZjU4ZQ%3d%3d</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Parent_Guid</c:Key>
<c:Value i:nil="true"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Parent_Name</c:Key>
<c:Value i:nil="true"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Parent_Type</c:Key>
<c:Value i:nil="true"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>DisplayName</c:Key>
<c:Value i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema">Tony Summerville</c:Value>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>Password</c:Key>
<c:Value i:nil="true"/>
</c:KeyValueOfstringanyType>
<c:KeyValueOfstringanyType>
<c:Key>ExistsInRepository</c:Key>
<c:Value i:type="d:boolean" xmlns:d="http://www.w3.org/2001/XMLSchema">true</c:Value>
</c:KeyValueOfstringanyType>
</b:Fields>
<b:Namespace>ARC.Polaris.Domain.Supporting.Security</b:Namespace>
<b:ParentTypes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:string>User</c:string>
<c:string>SystemDomainObject</c:string>
<c:string>AggregateDomainObject</c:string>
<c:string>DomainObject</c:string>
</b:ParentTypes>
<b:Type>PortalUser</b:Type>
<b:_canUpsert>true</b:_canUpsert>
</a:User>
</PortalLoginResult>
</PortalLoginResponse>
419 420 421 422 423 424 425 426 427 428 429 |
# File 'lib/sunspot4r/security_service_client.rb', line 419 def portal_login(association_guid, username, password) response = call :portal_login! do |soap| soap.body = { "wsdl:associationGuid" => association_guid, "wsdl:userName" => username, "wsdl:password" => password, :order! => ["wsdl:associationGuid", "wsdl:userName", "wsdl:password"] } end response.to_hash[:portal_login_response][:portal_login_result] end |
#service_name ⇒ Object
Name of the Sunspot service. Used to build SOAPAction URLs dynamically.
9 10 11 |
# File 'lib/sunspot4r/security_service_client.rb', line 9 def service_name 'SecurityService' end |