struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aum strut <aum.str...@gmail.com>
Subject Re: Alternate for actionRedirect
Date Sun, 04 Dec 2011 09:43:28 GMT
Thing is i am already constructing the object there in my callback action
once user authorize me i will make some request to these services to get
user public profile so that means instead of using this profile object i
have to pass individual piece of information kind of pain and i want URL to
be short and well readable

hope i am able to explain it

On Sun, Dec 4, 2011 at 3:03 PM, Maurizio Cucchiara <mcucchiara@apache.org>wrote:

> Why is long request URI an issue for you?
> You could do a simple redirect passing every parameters you want preserve.
>
> Twitter     :http://www.twitter.com/m_cucchiara
> G+          :https://plus.google.com/107903711540963855921
> Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
>
> Maurizio Cucchiara
>
>
> On 4 December 2011 09:17, aum strut <aum.struts@gmail.com> wrote:
>
> > Hi All,
> >
> > Currently i am working with OAuth in my web-app, So i am redirecting my
> > user to the third party system (gmail/yahoo) and once they authenticate
> > thereself with those system ,these system will redirect back user to my
> App
> > at a specified callback URL
> >
> > Things are working fine except that when user will be redirected back to
> my
> > application the URL contains a lot of other information as a query string
> > which i need to get other information related to the user.
> >
> > In my callback Action i am using those parameters and making some request
> > to the gmail/yahoo and creating a user profile object and sending user
> back
> > to the success page.
> >
> > Though everything is working fine but the URL is still having those long
> > query string being send back by the OAuth service provider.
> >
> > if i use redirectAction though it will change the URL and make it clean
> but
> > i will loose my user profile Object.
> >
> > How can i achieve this in best way so that i can get rid of this
> > long query-string and same time able to maintain my user profile object?
> >
> >
> > Thanks in advacnce
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message