You have to deploy the signed jwt authenticator to server side to make it work. ;)
Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Feb 24, 2015 at 1:31 PM, Senduran Balasubramaniyam < [email protected]> wrote: > Hi Danushka, > > I tried with signed JWT authentication (extracted the logic from app > factory). And added "Authorization" header. But unfortunately it didn't > work for me, that's why I tied $subject using SAML > > Thanks > Senduran > > On Mon, Feb 23, 2015 at 6:06 PM, Danushka Fernando <[email protected]> > wrote: > >> You don't have to use saml here. You can use mutual authenticator or >> signed jwt authenticator. >> On Feb 23, 2015 2:59 PM, "Senduran Balasubramaniyam" <[email protected]> >> wrote: >> >>> Hi All, >>> >>> I was able to do the $subject as follows >>> >>> - enabled sso for publisher and ESB (Enabled Audience Restriction) >>> - called the “SAML2SSOAuthenticationService” admin service with saml >>> response >>> - from the response header extracted the JSESSIONID and added as the >>> “HTTPHeaders” to the admin call >>> >>> Thanks >>> Senduran >>> >>> On Mon, Jan 12, 2015 at 3:44 PM, Danushka Fernando <[email protected]> >>> wrote: >>> >>> In the jaggery app you can add the user to the session when he logs in >>>> to the application. This is done in appfactory and api manager. You can >>>> check the code. After that as Udara mentioned in previous mail you can use >>>> that username to authenticate the service call. This is also done in >>>> appfactory. >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 >>>> >>>> On Mon, Jan 12, 2015 at 2:33 PM, Udara Liyanage <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I have done this using a custom authenticator, a JWT authenticator. >>>>> This is used in AF. >>>>> >>>>> However I have heard that it is possible to use MutualAuth for this. >>>>> >>>>> >>>>> On Mon, Jan 12, 2015 at 12:56 PM, Senduran Balasubramaniyam < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi All, >>>>>> >>>>>> I have to call an ESB's admin service from a jaggery app with tenant >>>>>> user credentials. >>>>>> >>>>>> I followed the sample http://jaggeryjs.org/documentation.jag?api=ws. >>>>>> And I have to hard code the username and password. >>>>>> >>>>>> How can I call the admin service using the credential of currently >>>>>> logged in tenant ? >>>>>> (The tenant is available in ESB as well) >>>>>> >>>>>> Thanks >>>>>> Senduran >>>>>> >>>>>> >>>>>> -- >>>>>> *Senduran * >>>>>> Software Engineer, >>>>>> WSO2, Inc.; http://wso2.com/ <http://wso2.com/> >>>>>> Mobile: +94 77 952 6548 >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Udara Liyanage >>>>> Software Engineer >>>>> WSO2, Inc.: http://wso2.com >>>>> lean. enterprise. middleware >>>>> >>>>> web: http://udaraliyanage.wordpress.com >>>>> phone: +94 71 443 6897 >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>> -- >>> *Senduran * >>> Software Engineer, >>> WSO2, Inc.; http://wso2.com/ <http://wso2.com/> >>> Mobile: +94 77 952 6548 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> > > > -- > *Senduran * > Software Engineer, > WSO2, Inc.; http://wso2.com/ <http://wso2.com/> > Mobile: +94 77 952 6548 >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
