Got it. Problem was with my configuration. Thank you for the clarification.
On Fri, Apr 4, 2014 at 1:46 PM, Suresh Attanayaka <[email protected]> wrote: > That cannot be, Only the variable name is *sp *there, but the value being > passed over there is the client id. > > > On Fri, Apr 4, 2014 at 1:31 PM, Prasad Tissera <[email protected]> wrote: > >> Class: >> *org.wso2.carbon.identity.application.authentication.framework.config.builder.UIBasedConfigurationBuilder >> * >> >> Method: *getSequence(String reqType, String sp) * >> >> *ApplicationDTO appConfigDTO = appDataAPI.getApplicationData(sp, reqType, >> MultitenantConstants.SUPER_TENANT_DOMAIN_NAME);* >> >> Here service provider Id has been passed for clientId in Method :* >> getApplicationData(String clientId, String type, String tenantDomain) * >> >> >> >> >> On Fri, Apr 4, 2014 at 1:21 PM, Suresh Attanayaka <[email protected]>wrote: >> >>> In this query we are trying to get the application name from the client >>> id, here what we should pass is the Client ID , but not the Application >>> Name. Do you know at which place we are passing the Application Name as the >>> Client ID ? >>> >>> >>> On Fri, Apr 4, 2014 at 12:24 PM, Prasad Tissera <[email protected]>wrote: >>> >>>> As I observed when the service provider name and the issuer name in >>>> service provider configurations are different it does not pick the >>>> configurations from the database. >>>> >>>> That is because of passing service provider name for CLIENT_ID in the >>>> following query. >>>> >>>> "SELECT APP_NAME FROM IDN_APPMGT_APP INNER JOIN IDN_APPMGT_CLIENT ON >>>> IDN_APPMGT_APP.ID = IDN_APPMGT_CLIENT.APP_ID WHERE CLIENT_ID = ? AND >>>> CLIENT_TYPE = ? AND IDN_APPMGT_APP.TENANT_ID = ? AND >>>> IDN_APPMGT_CLIENT.TENANT_ID=?"; >>>> >>>> Just want to know whether this is the intended behavior. >>>> >>>> >>>> -- >>>> Prasad Tissera >>>> Software Engineer. >>>> Mobile : +94777223444 >>>> >>> >>> >>> >>> -- >>> Suresh Attanayake >>> Senior Software Engineer; WSO2 Inc. http://wso2.com/ >>> Blog : http://sureshatt.blogspot.com/ >>> Web : http://www.ssoarcade.com/ >>> Facebook : https://www.facebook.com/IdentityWorld >>> Twitter : https://twitter.com/sureshatt >>> LinkedIn : http://lk.linkedin.com/in/sureshatt >>> Mobile : +94755012060 >>> Mobile : +016166171172 >>> >> >> >> >> -- >> Prasad Tissera >> Software Engineer. >> Mobile : +94777223444 >> > > > > -- > Suresh Attanayake > Senior Software Engineer; WSO2 Inc. http://wso2.com/ > Blog : http://sureshatt.blogspot.com/ > Web : http://www.ssoarcade.com/ > Facebook : https://www.facebook.com/IdentityWorld > Twitter : https://twitter.com/sureshatt > LinkedIn : http://lk.linkedin.com/in/sureshatt > Mobile : +94755012060 > Mobile : +016166171172 > -- Prasad Tissera Software Engineer. Mobile : +94777223444
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
