Hi all,

I need to do $subject for a REST API in WSO2IS 5.0.0.

I can retrieve the SAMLSSOServiceProviderDO when I have the issuer as in
[1]. but I observed that SAMLSSOServiceProviderDO does not have the
Application name of the SP in it. In order to retrieve the claims of the SP
using [2] I need to get the application name of the SP.

Is there a way that I could get the application name of the SP when I have
the issuer of a particular SP?

Or is there a better way to retrieve the claims of the SP?


[1]  SSOServiceProviderConfigManager spConfigManager =
           SSOServiceProviderConfigManager.getInstance();
        SAMLSSOServiceProviderDO spDO =
spConfigManager.getServiceProvider(issuer);

[2] ServiceProvider serviceProvider =
applicationManagementOSGIService.getApplication("");//todo get application
Name
            ClaimConfig claimConfig = serviceProvider.getClaimConfig();
            claimsSet = claimConfig.getIdpClaims();

thanks and regards

-- 
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to