Hi,
i would like to extend a session (metadata) with scope of user logged in.
Something like "allowed countries", "allowed companies" and so on.
That scope is provided by a spring bean (UserScopeFinder). This bean is created
in a Configuration as a @Bean.
What i tried so far is add an
Thanks Sven,
great. Works.
> Gesendet: Sonntag, 07. März 2021 um 11:58 Uhr
> Von: "Sven Meier"
> An: users@wicket.apache.org
> Betreff: Re: Extend session metadata with user-data-scope after login (spring
> question)
>
> Hi,
>
> Wicket tries to create a proxy for your bean.
>
> Apparently
Hi,
Wicket tries to create a proxy for your bean.
Apparently UserScopeFinder doesn't have a default constructor, which is
required for creation of a proxy class.
Easiest solution is to introduce an interface (e.g. IUserScopeFinder)
and let your bean implement that:
@SpringBean(name =