Re: [Wicket-user] Login to wicket-app from another site
You do not have to use the existing signin page. You could write a page that has a constructor with 1 parameter of type PageParameters. Then mount that page to some URL and call it directly from your other application. The username and password can be in post parameters or in the URL directly. In the constructor the page would authenticate the user and when done throw a RestartResponseException to render the home page. Regards, Erik. Konstantinos Lazouras wrote: > Is there a better way to do this? > > -konstantinos > > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
Igor, Johan, thank you for your help, yes, the case is from SiteA on ServerA to a ServerB with the wicket app. It is not an sso case, as the user for the wicket app is irrelevant to the user of SiteA and will stay that way. I think the solution is in "... Then that SiteA just goes to a special mount in wicket. With the username and a special uuid..." To do this, one thought is to do http post from SiteA and get the PageParameters at the signIn Page of the wicket app (and let SiteA determine the use of ssl or not, up to this point). There, I just do authentication and forward user to wicket-home page, without any user interaction. If authentication fails then ok, display the existing wicket-signIn page with the appropriate message and let the user continue from there (and forget about SiteA). Is there a better way to do this? -konstantinos - Original Message From: Igor Vaynberg <[EMAIL PROTECTED]> To: wicket-user@lists.sourceforge.net Sent: Wednesday, December 20, 2006 11:18:51 PM Subject: Re: [Wicket-user] Login to wicket-app from another site if they are on a different server then just use an sso [1] solution [1] http://www.ja-sig.org/products/cas/ -igor On 12/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote: my question is is SiteA on the same server? I have worked on another one that is really van SiteA on ServerA to a ServerB with the wicket app. Then that SiteA just goes to a special mount in wicket. With the username and a special uuid. johan On 12/20/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras < [EMAIL PROTECTED]> wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class . That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the "login behind the scenes" succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yah
Re: [Wicket-user] Login to wicket-app from another site
if they are on a different server then just use an sso [1] solution [1] http://www.ja-sig.org/products/cas/ -igor On 12/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote: my question is is SiteA on the same server? I have worked on another one that is really van SiteA on ServerA to a ServerB with the wicket app. Then that SiteA just goes to a special mount in wicket. With the username and a special uuid. johan On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > i suppose sitea can put the username into session > > then either > > your login page looks for that username in session and if there uses > restartresponseexception to redirect to home page > > or if you are using an authorization strategy then that bypass the login > page > > -igor > > > On 12/20/06, Konstantinos Lazouras < [EMAIL PROTECTED]> > wrote: > > > > > Hi all, > > > > I have a wicket application running, that has a login page, where user > > puts username and password and continues to Home.class . That works > > fine. Now I need to bypass the login page, coming from a site (e.g. > > siteA, with its own username and passwd fields and not using wicket) and go > > directly to Home.class (only if the "login behind the scenes" > > succeeds). > > > > The problems are > > a) how should the url to the wicket app look like? (to use at siteA) > > b) how to get username and passwd from siteA? > > > > Any suggestions? > > > > Cheers, > > > > Konstantinos > > > > > > > > > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys - and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
my question is is SiteA on the same server? I have worked on another one that is really van SiteA on ServerA to a ServerB with the wicket app. Then that SiteA just goes to a special mount in wicket. With the username and a special uuid. johan On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have a wicket application running, that has a login page, where user > puts username and password and continues to Home.class . That works > fine. Now I need to bypass the login page, coming from a site (e.g. > siteA, with its own username and passwd fields and not using wicket) and go > directly to Home.class (only if the "login behind the scenes" succeeds). > > > The problems are > a) how should the url to the wicket app look like? (to use at siteA) > b) how to get username and passwd from siteA? > > Any suggestions? > > Cheers, > > Konstantinos > > > > > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
Thanks Igor, I 'll try this and get back with results tomorrow, Konstantinos - Original Message From: Igor Vaynberg <[EMAIL PROTECTED]> To: wicket-user@lists.sourceforge.net Sent: Wednesday, December 20, 2006 7:04:10 PM Subject: Re: [Wicket-user] Login to wicket-app from another site i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras <[EMAIL PROTECTED]> wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class . That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the "login behind the scenes" succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras <[EMAIL PROTECTED]> wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class. That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the "login behind the scenes" succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Login to wicket-app from another site
Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class. That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the "login behind the scenes" succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user