login with a parameter, no form

2009-12-11 Thread tubin gen
My application does not authenticate user ,some external application authenticates and redirects to my application passing a parameter to identify the user, using this parameter I have to create a session and userdetails. I am using SimplePageAuthrizationStrategy

Re: login with a parameter, no form

2009-12-11 Thread Igor Vaynberg
the auth strategy runs before your class is instantiated, so check there for the parameter being present and log the user in. -igor On Fri, Dec 11, 2009 at 1:58 PM, tubin gen fachh...@gmail.com wrote: My application does not authenticate user ,some external application authenticates and

Re: login with a parameter, no form

2009-12-11 Thread fachhoch
Please tell me where is there in the below text ? so check there for the parameter being present I saw the class SimplePageAuthorizationStrategy but could not figure out where I can check for parameter ? Please tell me more . igor.vaynberg wrote: the auth strategy runs before

Re: login with a parameter, no form

2009-12-11 Thread Igor Vaynberg
in your auth strategy simply call RequestCycle.get() -igor On Fri, Dec 11, 2009 at 2:53 PM, fachhoch fachh...@gmail.com wrote: Please tell me  where is   there in the below text ? so check there for the parameter being present I saw the class SimplePageAuthorizationStrategy  but  could

Re: login with a parameter, no form

2009-12-11 Thread fachhoch
I am sorry to ask you again, I did not understand , I am asking which method should I override in auth strategy, which method in auth strategy will I be able to do RequestCycle.get() , get parameter and log in user ? igor.vaynberg wrote: in your auth strategy simply call

Re: login with a parameter, no form

2009-12-11 Thread Igor Vaynberg
you can do it in any method, you have to do it in the one that checks if the user is logged in. -igor On Fri, Dec 11, 2009 at 3:05 PM, fachhoch fachh...@gmail.com wrote: I am sorry to ask you again, I did not understand , I am asking which method should I override in   auth strategy, which