Hi,
What is the functionality of $subject?
I'm observing this operation inside UserProfileMgtService [1] when admin
services are exposed in App Server latest build.
I have added an IdP with basic details [2].
<mgt:identityProvider>
<xsd:alias>https://localhost:9443/oauth2/token/</xsd:alias>
<xsd:certificate>BASE64 encoded String goes
here</xsd:certificate>
<xsd:displayName>Sample IdP</xsd:displayName>
<xsd:enable>true</xsd:enable>
<xsd:federationHub>false</xsd:federationHub>
<xsd:homeRealmId>localhost</xsd:homeRealmId>
<xsd:identityProviderDescription>Sample
Description</xsd:identityProviderDescription>
<xsd:identityProviderName>TestIdP</xsd:identityProviderName>
<xsd:primary>true</xsd:primary>
<xsd:provisioningRole>test</xsd:provisioningRole>
</mgt:identityProvider>
After performing associateID operation, I tried to call
the getNameAssociatedWith through my custom client but getting a null
object.
Relevant sql is as follows [3].
sql = "SELECT DOMAIN_NAME, USER_NAME FROM IDN_ASSOCIATED_ID WHERE TENANT_ID
= ? AND IDP_ID = (SELECT ID " +
"FROM IDP WHERE NAME = ? AND TENANT_ID = ?) AND
IDP_USER_ID = ?";
[1] https://localhost:9443/services/UserProfileMgtService?wsdl
[2]
https://github.com/wso2/carbon-identity/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementService.java
[3]
https://github.com/wso2/carbon-identity/blob/master/components/user-mgt/org.wso2.carbon.identity.user.profile/src/main/java/org/wso2/carbon/identity/user/profile/mgt/UserProfileAdmin.java
Thanks,
Suhan
--
Suhan Dharmasuriya
Software Engineer - Test Automation
*WSO2, Inc. *
lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhan-opensource.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev