Hi,

4) Add a Servlet Filter *before* WicketFilter in web.xml
The new filter will check whether there is an authenticated user or not and
do whatever is needed

Martin Grigorov
Wicket Training and Consulting


On Thu, Jan 16, 2014 at 9:29 AM, Илья Нарыжный <phan...@ydn.ru> wrote:

> Guys,
>
> Please advice me. What's the best way to implement authentication in
> external system(support of "Single Sign On")? I know 3 variants, but all of
> them have different pros and cons.
>
> 1) Implement your own IRequestCycleListener. You are intercepting all
> requests, finding out those that should be authenticated externally and
> proceeed with proper operations (commonly redirect to external system).
> 2) Implement of IREquestMapper. HttpsMapper can be taken as some kind of
> example.
> 3) Override restartResponseAtSignInPage() and redirect to external system
> if required.
>
> So, what is the best one? May be you know more variants?
>
> Thanks,
>
> Ilia
>

Reply via email to