Re: Forward request to an external filter

2013-02-18 Thread Martin Grigorov
Hi,

Wicket doesn't provide an API for internal forwards. Use the Servlet API
for this.

Also check https://github.com/fernandezpablo85/scribe-java for OAuth. It is
very simple to use it.


On Thu, Feb 14, 2013 at 4:34 PM, Leonid Bogdanov leonid_bogda...@mail.ruwrote:


 Hello!

   I'm trying to add OAuth authentication to a Wicket webapp and as a part
 of this I need to be able to do server-side forward of a request from
 Wicket to an external filter.
   So what is the best way to do this in Wicket? Do I need to throw some
 special exception with an URL to forward to or should do this more
 traditionally with RequestDispatcher.forward()?

 Thank you.




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re[2]: Forward request to an external filter

2013-02-18 Thread Leonid Bogdanov

Hello, Martin!

    Thank you for your response! Actually I already use Scribe lib, but 
indirectly - through Shiro OAuth plugin.

Thank you.


Monday, 18 Feb 2013, 10:06 +02:00 from Martin Grigorov mgrigo...@apache.org:
Hi,

Wicket doesn't provide an API for internal forwards. Use the Servlet API
for this.

Also check  https://github.com/fernandezpablo85/scribe-java for OAuth. It is
very simple to use it.


On Thu, Feb 14, 2013 at 4:34 PM, Leonid Bogdanov  leonid_bogda...@mail.ru 
wrote:


 Hello!

   I'm trying to add OAuth authentication to a Wicket webapp and as a part
 of this I need to be able to do server-side forward of a request from
 Wicket to an external filter.
   So what is the best way to do this in Wicket? Do I need to throw some
 special exception with an URL to forward to or should do this more
 traditionally with RequestDispatcher.forward()?

 Thank you.




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com  http://jweekend.com/ 




Re: Re[2]: Forward request to an external filter

2013-02-18 Thread Martin Grigorov
Hi Leonid,

I have no experience with Apache Shiro.
I can blog about how to use Scribe directly in Wicket if this will help you.


On Mon, Feb 18, 2013 at 10:18 AM, Leonid Bogdanov
leonid_bogda...@mail.ruwrote:


 Hello, Martin!

 Thank you for your response! Actually I already use Scribe lib, but
 indirectly - through Shiro OAuth plugin.

 Thank you.


 Monday, 18 Feb 2013, 10:06 +02:00 from Martin Grigorov 
 mgrigo...@apache.org:
 Hi,
 
 Wicket doesn't provide an API for internal forwards. Use the Servlet API
 for this.
 
 Also check  https://github.com/fernandezpablo85/scribe-java for OAuth.
 It is
 very simple to use it.
 
 
 On Thu, Feb 14, 2013 at 4:34 PM, Leonid Bogdanov 
 leonid_bogda...@mail.ru wrote:
 
 
  Hello!
 
I'm trying to add OAuth authentication to a Wicket webapp and as a
 part
  of this I need to be able to do server-side forward of a request from
  Wicket to an external filter.
So what is the best way to do this in Wicket? Do I need to throw some
  special exception with an URL to forward to or should do this more
  traditionally with RequestDispatcher.forward()?
 
  Thank you.
 
 
 
 
 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com  http://jweekend.com/ 
 




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re[4]: Forward request to an external filter

2013-02-18 Thread Leonid Bogdanov

Hello, Martin!

    I think such article would be helpful to many others, so if it's not too 
much trouble, please, write about it.

Thank you.


Monday, 18 Feb 2013, 10:25 +02:00 from Martin Grigorov mgrigo...@apache.org:
Hi Leonid,

I have no experience with Apache Shiro.
I can blog about how to use Scribe directly in Wicket if this will help you.


On Mon, Feb 18, 2013 at 10:18 AM, Leonid Bogdanov
 leonid_bogda...@mail.ru wrote:


 Hello, Martin!

 Thank you for your response! Actually I already use Scribe lib, but
 indirectly - through Shiro OAuth plugin.

 Thank you.


 Monday, 18 Feb 2013, 10:06 +02:00 from Martin Grigorov 
  mgrigo...@apache.org :
 Hi,
 
 Wicket doesn't provide an API for internal forwards. Use the Servlet API
 for this.
 
 Also check  https://github.com/fernandezpablo85/scribe-java for OAuth.
 It is
 very simple to use it.
 
 
 On Thu, Feb 14, 2013 at 4:34 PM, Leonid Bogdanov 
  leonid_bogda...@mail.ru wrote:
 
 
  Hello!
 
I'm trying to add OAuth authentication to a Wicket webapp and as a
 part
  of this I need to be able to do server-side forward of a request from
  Wicket to an external filter.
So what is the best way to do this in Wicket? Do I need to throw some
  special exception with an URL to forward to or should do this more
  traditionally with RequestDispatcher.forward()?
 
  Thank you.
 
 
 
 
 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
  http://jWeekend.com   http://jweekend.com/ 
 




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com  http://jweekend.com/ 




Re: Re[4]: Forward request to an external filter

2013-02-18 Thread Martin Grigorov
Please subscribe to the RSS of http://wicketinaction.com/  so you are
notified when I'm ready :-)


On Mon, Feb 18, 2013 at 10:51 AM, Leonid Bogdanov
leonid_bogda...@mail.ruwrote:


 Hello, Martin!

 I think such article would be helpful to many others, so if it's not
 too much trouble, please, write about it.

 Thank you.


 Monday, 18 Feb 2013, 10:25 +02:00 from Martin Grigorov 
 mgrigo...@apache.org:
 Hi Leonid,
 
 I have no experience with Apache Shiro.
 I can blog about how to use Scribe directly in Wicket if this will help
 you.
 
 
 On Mon, Feb 18, 2013 at 10:18 AM, Leonid Bogdanov
  leonid_bogda...@mail.ru wrote:
 
 
  Hello, Martin!
 
  Thank you for your response! Actually I already use Scribe lib, but
  indirectly - through Shiro OAuth plugin.
 
  Thank you.
 
 
  Monday, 18 Feb 2013, 10:06 +02:00 from Martin Grigorov 
   mgrigo...@apache.org :
  Hi,
  
  Wicket doesn't provide an API for internal forwards. Use the Servlet
 API
  for this.
  
  Also check  https://github.com/fernandezpablo85/scribe-java for OAuth.
  It is
  very simple to use it.
  
  
  On Thu, Feb 14, 2013 at 4:34 PM, Leonid Bogdanov 
   leonid_bogda...@mail.ru wrote:
  
  
   Hello!
  
 I'm trying to add OAuth authentication to a Wicket webapp and as a
  part
   of this I need to be able to do server-side forward of a request from
   Wicket to an external filter.
 So what is the best way to do this in Wicket? Do I need to throw
 some
   special exception with an URL to forward to or should do this more
   traditionally with RequestDispatcher.forward()?
  
   Thank you.
  
  
  
  
  --
  Martin Grigorov
  jWeekend
  Training, Consulting, Development
   http://jWeekend.com   http://jweekend.com/ 
  
 
 
 
 
 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com  http://jweekend.com/ 
 




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re: Forward request to an external filter

2013-02-17 Thread Leonid Bogdanov

Hello!

    Any comments on this?

Thank you.


Thursday, 14 Feb 2013, 18:34 +04:00 from Leonid Bogdanov:

Hello!

  I'm trying to add OAuth authentication to a Wicket webapp and as a part of 
this I need to be able to do server-side forward of a request from Wicket to 
an external filter.
  So what is the best way to do this in Wicket? Do I need to throw some 
special exception with an URL to forward to or should do this more 
traditionally with RequestDispatcher.forward()?

Thank you.



Forward request to an external filter

2013-02-14 Thread Leonid Bogdanov

Hello!

  I'm trying to add OAuth authentication to a Wicket webapp and as a part of 
this I need to be able to do server-side forward of a request from Wicket to an 
external filter.
  So what is the best way to do this in Wicket? Do I need to throw some special 
exception with an URL to forward to or should do this more traditionally with 
RequestDispatcher.forward()?

Thank you.