Skip to content

Instantly share code, notes, and snippets.

@omindu
Created August 14, 2018 10:18
Show Gist options
  • Save omindu/46a476561d5cf23c948aca27a0233d69 to your computer and use it in GitHub Desktop.
Save omindu/46a476561d5cf23c948aca27a0233d69 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<ns4:updateApplication xmlns:ns4="http://org.apache.axis2/xsd">
<ns4:serviceProvider>
<ns1:applicationID xmlns:ns1="http://model.common.application.identity.carbon.wso2.org/xsd">7</ns1:applicationID>
<ns1:applicationName xmlns:ns1="http://model.common.application.identity.carbon.wso2.org/xsd">TestSP2</ns1:applicationName>
<ns1:certificateContent xmlns:ns1="http://model.common.application.identity.carbon.wso2.org/xsd"/>
<claimConfig xmlns="http://model.common.application.identity.carbon.wso2.org/xsd">
<alwaysSendMappedLocalSubjectId>false</alwaysSendMappedLocalSubjectId>
<claimMappings>
<localClaim>
<claimUri>http://wso2.org/claims/emailaddress</claimUri>
</localClaim>
<mandatory>false</mandatory>
<remoteClaim>
<claimUri>email</claimUri>
</remoteClaim>
<requested>false</requested>
</claimMappings>
<claimMappings>
<localClaim>
<claimUri>http://wso2.org/claims/givenname</claimUri>
</localClaim>
<mandatory>false</mandatory>
<remoteClaim>
<claimUri>name</claimUri>
</remoteClaim>
<requested>false</requested>
</claimMappings>
<localClaimDialect>false</localClaimDialect>
<roleClaimURI/>
</claimConfig>
<ns1:description xmlns:ns1="http://model.common.application.identity.carbon.wso2.org/xsd">Test SP description
</ns1:description>
<inboundAuthenticationConfig xmlns="http://model.common.application.identity.carbon.wso2.org/xsd">
<inboundAuthenticationRequestConfigs>
<inboundAuthKey>travelocity.com</inboundAuthKey>
<inboundAuthType>samlsso</inboundAuthType>
</inboundAuthenticationRequestConfigs>
<inboundAuthenticationRequestConfigs>
<inboundAuthKey>TestSP2</inboundAuthKey>
<inboundAuthType>passivests</inboundAuthType>
</inboundAuthenticationRequestConfigs>
<inboundAuthenticationRequestConfigs>
<inboundAuthKey>TestSP2</inboundAuthKey>
<inboundAuthType>openid</inboundAuthType>
</inboundAuthenticationRequestConfigs>
</inboundAuthenticationConfig>
<inboundProvisioningConfig xmlns="http://model.common.application.identity.carbon.wso2.org/xsd">
<dumbMode>false</dumbMode>
<provisioningUserStore/>
</inboundProvisioningConfig>
<localAndOutBoundAuthenticationConfig xmlns="http://model.common.application.identity.carbon.wso2.org/xsd">
<alwaysSendBackAuthenticatedListOfIdPs>false</alwaysSendBackAuthenticatedListOfIdPs>
<authenticationScriptConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<authenticationStepForAttributes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<authenticationStepForSubject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<authenticationSteps>
<attributeStep>true</attributeStep>
<localAuthenticatorConfigs>
<displayName>basic</displayName>
<enabled>false</enabled>
<name>BasicAuthenticator</name>
<valid>true</valid>
</localAuthenticatorConfigs>
<stepOrder>1</stepOrder>
<subjectStep>true</subjectStep>
</authenticationSteps>
<authenticationSteps>
<attributeStep>false</attributeStep>
<federatedIdentityProviders>
<claimConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<defaultAuthenticatorConfig>
<displayName>facebook</displayName>
<enabled>false</enabled>
<name>FacebookAuthenticator</name>
<valid>true</valid>
</defaultAuthenticatorConfig>
<defaultProvisioningConnectorConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<enable>false</enable>
<federatedAuthenticatorConfigs>
<displayName>facebook</displayName>
<enabled>false</enabled>
<name>FacebookAuthenticator</name>
<valid>true</valid>
</federatedAuthenticatorConfigs>
<federationHub>false</federationHub>
<identityProviderName>FBIdP</identityProviderName>
<justInTimeProvisioningConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<permissionAndRoleConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<primary>false</primary>
</federatedIdentityProviders>
<stepOrder>2</stepOrder>
<subjectStep>false</subjectStep>
</authenticationSteps>
<authenticationType>flow</authenticationType>
<enableAuthorization>false</enableAuthorization>
<subjectClaimUri xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<useTenantDomainInLocalSubjectIdentifier>false</useTenantDomainInLocalSubjectIdentifier>
<useUserstoreDomainInLocalSubjectIdentifier>false</useUserstoreDomainInLocalSubjectIdentifier>
</localAndOutBoundAuthenticationConfig>
<outboundProvisioningConfig xmlns="http://model.common.application.identity.carbon.wso2.org/xsd"/>
<owner xmlns="http://model.common.application.identity.carbon.wso2.org/xsd">
<tenantDomain>carbon.super</tenantDomain>
<userName>admin</userName>
<userStoreDomain>PRIMARY</userStoreDomain>
</owner>
<permissionAndRoleConfig xmlns="http://model.common.application.identity.carbon.wso2.org/xsd"/>
<ns1:requestPathAuthenticatorConfigs xmlns:ns1="http://model.common.application.identity.carbon.wso2.org/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"/>
<ns1:saasApp xmlns:ns1="http://model.common.application.identity.carbon.wso2.org/xsd">true</ns1:saasApp>
</ns4:serviceProvider>
</ns4:updateApplication>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment