Return-Path: X-Original-To: apmail-oltu-dev-archive@www.apache.org Delivered-To: apmail-oltu-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03D54113F9 for ; Fri, 12 Sep 2014 11:21:35 +0000 (UTC) Received: (qmail 89846 invoked by uid 500); 12 Sep 2014 11:21:34 -0000 Delivered-To: apmail-oltu-dev-archive@oltu.apache.org Received: (qmail 89805 invoked by uid 500); 12 Sep 2014 11:21:34 -0000 Mailing-List: contact dev-help@oltu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oltu.apache.org Delivered-To: mailing list dev@oltu.apache.org Received: (qmail 89793 invoked by uid 99); 12 Sep 2014 11:21:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 11:21:34 +0000 Date: Fri, 12 Sep 2014 11:21:34 +0000 (UTC) From: "Stein Welberg (JIRA)" To: dev@oltu.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OLTU-140) Returning resource from Resource server to oltu client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OLTU-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stein Welberg updated OLTU-140: ------------------------------- Component/s: oauth2-client > Returning resource from Resource server to oltu client > ------------------------------------------------------ > > Key: OLTU-140 > URL: https://issues.apache.org/jira/browse/OLTU-140 > Project: Apache Oltu > Issue Type: Improvement > Components: oauth2-client > Reporter: abishkar > > How to return resource from resource server to client? In OAuthASResponse there are OAuthTokenResponseBuilder and OAuthAuthorizationResponseBuilder inner class.Using that inner class i am unable to send my json resource to client from ResourceEndpoint.As,there is not setter method to set for my json resource. > OAuthResponse response = OAuthASResponse.setResource(json) > .buildJSONMessage(); > OAuthASResponse.setResource(json)// this is what i needed > so that from client i can easily retrieve as > oar=OAuthAuthzResponse.oauthCodeAuthzResponse(request); > String json= oar.getResource(); // my json string .This is what i need in client. > So,i am trying to extend it.But,inner class being used i am unable to do it?Is > there way to extend OAuthASResponse so that i can set for resource and retrieve that from client? -- This message was sent by Atlassian JIRA (v6.3.4#6332)