Re: does spring-boot migration require wicket-spring-boot

2023-01-29 Thread Martin Grigorov
We have documentation how to integrate Wicket with Spring -
https://nightlies.apache.org/wicket/guide/9.x/single.html#_integrating_wicket_with_spring
How to "upgrade" from Spring to Spring-Boot you should advice with Spring
Boot ocumentation.

On Mon, Jan 30, 2023 at 3:04 AM Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:

> Thank you Martin Grigorov.
> Is there any document/guide/sample to integrate Apache Wicket framework
> with Spring-Boot?
> Please share the links
>
>
>
> *Thanks And RegardsSibi.ArunachalammCruncher*
>
>
> On Fri, Jan 20, 2023 at 5:32 PM Martin Grigorov 
> wrote:
>
> > On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi <
> > arunacha...@mcruncher.com> wrote:
> >
> > > Hi guys,
> > > We develop Wicket + Spring based web applications.
> > > Now we are working to migrate the Spring framework to Spring Boot. Does
> > > this require wicket-spring-boot migration?
> > > Is it mandatory to migrate Wicket framework to wicket-spring-boot?
> > >
> >
> > No.
> > Wicket-Spring-Boot may help you to configure the Wicket settings via
> Spring
> > boot settings, but it is not mandatory at all.
> >
> >
> >
> > >
> > >
> > >
> > > *Thanks And RegardsSibi.ArunachalammCruncher*
> > >
> >
>


Re: does spring-boot migration require wicket-spring-boot

2023-01-29 Thread Arunachalam Sibisakkaravarthi
Thank you Martin Grigorov.
Is there any document/guide/sample to integrate Apache Wicket framework
with Spring-Boot?
Please share the links



*Thanks And RegardsSibi.ArunachalammCruncher*


On Fri, Jan 20, 2023 at 5:32 PM Martin Grigorov 
wrote:

> On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi <
> arunacha...@mcruncher.com> wrote:
>
> > Hi guys,
> > We develop Wicket + Spring based web applications.
> > Now we are working to migrate the Spring framework to Spring Boot. Does
> > this require wicket-spring-boot migration?
> > Is it mandatory to migrate Wicket framework to wicket-spring-boot?
> >
>
> No.
> Wicket-Spring-Boot may help you to configure the Wicket settings via Spring
> boot settings, but it is not mandatory at all.
>
>
>
> >
> >
> >
> > *Thanks And RegardsSibi.ArunachalammCruncher*
> >
>


Re: does spring-boot migration require wicket-spring-boot

2023-01-20 Thread Martin Grigorov
On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:

> Hi guys,
> We develop Wicket + Spring based web applications.
> Now we are working to migrate the Spring framework to Spring Boot. Does
> this require wicket-spring-boot migration?
> Is it mandatory to migrate Wicket framework to wicket-spring-boot?
>

No.
Wicket-Spring-Boot may help you to configure the Wicket settings via Spring
boot settings, but it is not mandatory at all.



>
>
>
> *Thanks And RegardsSibi.ArunachalammCruncher*
>


does spring-boot migration require wicket-spring-boot

2023-01-20 Thread Arunachalam Sibisakkaravarthi
Hi guys,
We develop Wicket + Spring based web applications.
Now we are working to migrate the Spring framework to Spring Boot. Does
this require wicket-spring-boot migration?
Is it mandatory to migrate Wicket framework to wicket-spring-boot?



*Thanks And RegardsSibi.ArunachalammCruncher*


Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss

works :) https://github.com/geramaya/wicket-spring-boot-simple

thx for help

Am 13.01.2021 um 20:19 schrieb Martin Grigorov:

In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues

On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss  wrote:


Hey all,

I've tested it. A mini spring-boot provide static content with functions
of https://www.baeldung.com/spring-mvc-static-resources. A mini spring
boot app with wicket-spring-boot does not provide it. I got a error
message with not found of ...

Some ideas or experience about it?


Am 13.01.2021 um 14:52 schrieb Martin Grigorov:

Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC
facilities: https://www.baeldung.com/spring-mvc-static-resources On
Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss  wrote:

Hi all, I use https://github.com/MarcGiffing/wicket-spring-boot with
Wicket 8.x and with a spring boot application. I would add static web
content (online help page) to provide a documentation inside the
spring boot application. Knows someone a way to provide to serve
static web content with a set of html sites? I'll thankful for some
hints for this issue :) Thx in advance Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For
additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss

https://github.com/MarcGiffing/wicket-spring-boot/issues/174

Done. Thx for your help :)

Am 13.01.2021 um 20:19 schrieb Martin Grigorov:

In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues

On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss  wrote:


Hey all,

I've tested it. A mini spring-boot provide static content with functions
of https://www.baeldung.com/spring-mvc-static-resources. A mini spring
boot app with wicket-spring-boot does not provide it. I got a error
message with not found of ...

Some ideas or experience about it?


Am 13.01.2021 um 14:52 schrieb Martin Grigorov:

Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC
facilities: https://www.baeldung.com/spring-mvc-static-resources On
Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss  wrote:

Hi all, I use https://github.com/MarcGiffing/wicket-spring-boot with
Wicket 8.x and with a spring boot application. I would add static web
content (online help page) to provide a documentation inside the
spring boot application. Knows someone a way to provide to serve
static web content with a set of html sites? I'll thankful for some
hints for this issue :) Thx in advance Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For
additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Martin Grigorov
In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues

On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss  wrote:

> Hey all,
>
> I've tested it. A mini spring-boot provide static content with functions
> of https://www.baeldung.com/spring-mvc-static-resources. A mini spring
> boot app with wicket-spring-boot does not provide it. I got a error
> message with not found of ...
>
> Some ideas or experience about it?
>
>
> Am 13.01.2021 um 14:52 schrieb Martin Grigorov:
> > Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC
> > facilities: https://www.baeldung.com/spring-mvc-static-resources On
> > Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss  wrote:
> >> Hi all, I use https://github.com/MarcGiffing/wicket-spring-boot with
> >> Wicket 8.x and with a spring boot application. I would add static web
> >> content (online help page) to provide a documentation inside the
> >> spring boot application. Knows someone a way to provide to serve
> >> static web content with a set of html sites? I'll thankful for some
> >> hints for this issue :) Thx in advance Daniel
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For
> >> additional commands, e-mail: users-h...@wicket.apache.org
> >
>


Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss

Hey all,

I've tested it. A mini spring-boot provide static content with functions 
of https://www.baeldung.com/spring-mvc-static-resources. A mini spring 
boot app with wicket-spring-boot does not provide it. I got a error 
message with not found of ...


Some ideas or experience about it?


Am 13.01.2021 um 14:52 schrieb Martin Grigorov:
Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC 
facilities: https://www.baeldung.com/spring-mvc-static-resources On 
Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss  wrote:
Hi all, I use https://github.com/MarcGiffing/wicket-spring-boot with 
Wicket 8.x and with a spring boot application. I would add static web 
content (online help page) to provide a documentation inside the 
spring boot application. Knows someone a way to provide to serve 
static web content with a set of html sites? I'll thankful for some 
hints for this issue :) Thx in advance Daniel 
- 
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For 
additional commands, e-mail: users-h...@wicket.apache.org 




Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss
Thx :) I have found this, but it doesn't work with my app. My next 
should step is to use a clean small spring boot app and spring boot with 
the wicket-spring-boot to exclude own bugs with my wonderful program :D


Thx
Daniel

Am 13.01.2021 um 14:52 schrieb Martin Grigorov:

Hi,

There is nothing Wicket specific in this. Just use Spring Boot/MVC
facilities: https://www.baeldung.com/spring-mvc-static-resources

On Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss  wrote:


Hi all,

I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x
and with a spring boot application. I would add static web content
(online help page) to provide a documentation inside the spring boot
application.

Knows someone a way to provide to serve static web content with a set of
html sites? I'll thankful for some hints for this issue :)

Thx in advance
Daniel



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Re: Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Martin Grigorov
Hi,

There is nothing Wicket specific in this. Just use Spring Boot/MVC
facilities: https://www.baeldung.com/spring-mvc-static-resources

On Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss  wrote:

>
> Hi all,
>
> I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x
> and with a spring boot application. I would add static web content
> (online help page) to provide a documentation inside the spring boot
> application.
>
> Knows someone a way to provide to serve static web content with a set of
> html sites? I'll thankful for some hints for this issue :)
>
> Thx in advance
> Daniel
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Provide a additional static content with https://github.com/MarcGiffing/wicket-spring-boot

2021-01-13 Thread Daniel Weiss



Hi all,

I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x 
and with a spring boot application. I would add static web content 
(online help page) to provide a documentation inside the spring boot 
application.


Knows someone a way to provide to serve static web content with a set of 
html sites? I'll thankful for some hints for this issue :)


Thx in advance
Daniel



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-11 Thread Igor Khvostenkov
Sorry, replied the wrong mail =(

-Igor.

> On 11. Dec 2019, at 10:44, Igor Khvostenkov 
>  wrote:
> 
> https://teleconf.lab2018.qa.lbaum.eu/conference/x/xS--GWk72BL0
> 
>> On 8. Dec 2019, at 20:24, Martin Grigorov  wrote:
>> 
>> Hi,
>> 
>> I would suggest you to generate your application with JHipster and then
>> remove the front-end (Angular/React) and add Wicket instead.
>> 
>> On Sun, Dec 8, 2019, 10:02 Per Newgro  wrote:
>> 
>>> Hello *,
>>> 
>>> i try to setup a spring boot project based on wicket-spring-boot-parent.
>>> To built my frontend assets (sass, js, svg minify etc) i like to use
>>> webpack.
>>> 
>>> But if i start my project the assets are not loaded. So i hope to find an
>>> example project,
>>> where i can find some inspirations how i could setup everything.
>>> 
>>> Btw. i built everything with gradle.
>>> 
>>> Thanks for your support
>>> Per
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>>> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-11 Thread Igor Khvostenkov
https://teleconf.lab2018.qa.lbaum.eu/conference/x/xS--GWk72BL0

> On 8. Dec 2019, at 20:24, Martin Grigorov  wrote:
> 
> Hi,
> 
> I would suggest you to generate your application with JHipster and then
> remove the front-end (Angular/React) and add Wicket instead.
> 
> On Sun, Dec 8, 2019, 10:02 Per Newgro  wrote:
> 
>> Hello *,
>> 
>> i try to setup a spring boot project based on wicket-spring-boot-parent.
>> To built my frontend assets (sass, js, svg minify etc) i like to use
>> webpack.
>> 
>> But if i start my project the assets are not loaded. So i hope to find an
>> example project,
>> where i can find some inspirations how i could setup everything.
>> 
>> Btw. i built everything with gradle.
>> 
>> Thanks for your support
>> Per
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Martin Grigorov
Hi,

I would suggest you to generate your application with JHipster and then
remove the front-end (Angular/React) and add Wicket instead.

On Sun, Dec 8, 2019, 10:02 Per Newgro  wrote:

> Hello *,
>
> i try to setup a spring boot project based on wicket-spring-boot-parent.
> To built my frontend assets (sass, js, svg minify etc) i like to use
> webpack.
>
> But if i start my project the assets are not loaded. So i hope to find an
> example project,
> where i can find some inspirations how i could setup everything.
>
> Btw. i built everything with gradle.
>
> Thanks for your support
> Per
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Tobias Soloschenko
Hi again,

some hints I found on stackoverflow:

https://stackoverflow.com/questions/38738587/migrate-frontend-maven-plugin-from-maven-to-gradle

kind regards

Tobias

> Am 08.12.2019 um 09:02 schrieb Per Newgro :
> 
> Hello *,
> 
> i try to setup a spring boot project based on wicket-spring-boot-parent.
> To built my frontend assets (sass, js, svg minify etc) i like to use webpack.
> 
> But if i start my project the assets are not loaded. So i hope to find an 
> example project,
> where i can find some inspirations how i could setup everything.
> 
> Btw. i built everything with gradle.
> 
> Thanks for your support
> Per
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


Re: Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Tobias Soloschenko
Hi,

for maven:

maybe you can use the eirslett frontend-maven-plugin and put in the npm 
executions you would like to have to build your frontend part beside the normal 
compile for the Wicket classes:

https://github.com/eirslett/frontend-maven-plugin

I did something long time ago with grunt:

https://github.com/klopfdreh/fluentsquare/blob/master/com.fluentsquare.web/pom.xml

I think you should be able to modify the executions to use webpack:

https://webpack.js.org/guides/getting-started/

for gradle I sadly don‘t have any examples.

kind regards

Tobias

> Am 08.12.2019 um 09:02 schrieb Per Newgro :
> 
> Hello *,
> 
> i try to setup a spring boot project based on wicket-spring-boot-parent.
> To built my frontend assets (sass, js, svg minify etc) i like to use webpack.
> 
> But if i start my project the assets are not loaded. So i hope to find an 
> example project,
> where i can find some inspirations how i could setup everything.
> 
> Btw. i built everything with gradle.
> 
> Thanks for your support
> Per
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Per Newgro
Hello *,

i try to setup a spring boot project based on wicket-spring-boot-parent.
To built my frontend assets (sass, js, svg minify etc) i like to use webpack.

But if i start my project the assets are not loaded. So i hope to find an 
example project,
where i can find some inspirations how i could setup everything.

Btw. i built everything with gradle.

Thanks for your support
Per

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Martin Grigorov
On Wed, Aug 28, 2019 at 12:04 PM Per Newgro  wrote:

> Hello Martin,
>
> the problem is that i assign a model in request cycle metadata by using
> the key
>
> public class IdentityInstance extends MetaDataKey> {
>
> public static IdentityInstance KEY = new IdentityInstance();
>
> private IdentityInstance() {
> super();
> }
> }
>
> Page:
> getRequestCycle().setMetaData(IdentityInstance.KEY, identityModel);
>
> Widget:
> IModel identity =
> getRequestCycle().getMetaData(IdentityInstance.KEY);
>
> But the model in Widget is always null. While debugging i found that
> object identity is used in Class#equals(Object o), what is ok for me.
> But with different classloaders class is loaded multiple times.
>
> I could provide a quickstart for this & create an issue, if you like. (?)
>

No, I don't.
I don't see why Wicket should be responsible for the way other libraries
work.
If you create a quickstart that does not use any third party libraries then
we will take a look!


>
> I would like to adapt my configuration so that devtools are still
> available.
>
> (DCEVM i need to inspect :-).)
>
> Thanks for your support.
> Regards
> Per
>
> > Gesendet: Mittwoch, 28. August 2019 um 10:37 Uhr
> > Von: "Martin Grigorov" 
> > An: "users@wicket.apache.org" 
> > Betreff: Re: Wicket Spring boot - use spring devtools
> >
> > Hi,
> >
> > This is how Spring Dev Tools work. When it detects a change it removes
> the
> > old application class loader and creates a new one.
> > Why this is a problem for you ?
> >
> > I personally prefer to use DCEVM (https://dcevm.github.io/). It is able
> to
> > redefine a specific class in the current class loader.
> > When I change a Spring @Configuration or Hibernate mapping I just restart
> > the application manually.
> >
> > On Wed, Aug 28, 2019 at 11:25 AM Per Newgro  wrote:
> >
> > > Hello *,
> > >
> > > I migrate my current wicket app to spring boot version (
> > > https://github.com/MarcGiffing/wicket-spring-boot).
> > >
> > > So far it was straightforward. But now i experience a problem with
> > > inclusion of
> > > 
> > >
> > > org.springframework.boot
> > >
> > > spring-boot-devtools
> > > 
> > >
> > > It seems that the "restart / reload feature" of devtools loads my
> classes
> > > multiple times, so that they are not equal anymore (x.class <>
> x.class).
> > > I understand that this is happening. But i would like to know if there
> is
> > > another option for me beside - removing spring-boot-devtools.
> > >
> > > Would be nice to here from you
> > > Thanks
> > > Per
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Aw: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
Hello Martin,

the problem is that i assign a model in request cycle metadata by using the key

public class IdentityInstance extends MetaDataKey> {

public static IdentityInstance KEY = new IdentityInstance();

private IdentityInstance() {
super();
}
}

Page:
getRequestCycle().setMetaData(IdentityInstance.KEY, identityModel);

Widget:
IModel identity = getRequestCycle().getMetaData(IdentityInstance.KEY);

But the model in Widget is always null. While debugging i found that object 
identity is used in Class#equals(Object o), what is ok for me.
But with different classloaders class is loaded multiple times.

I could provide a quickstart for this & create an issue, if you like. (?)

I would like to adapt my configuration so that devtools are still available.

(DCEVM i need to inspect :-).)

Thanks for your support.
Regards
Per

> Gesendet: Mittwoch, 28. August 2019 um 10:37 Uhr
> Von: "Martin Grigorov" 
> An: "users@wicket.apache.org" 
> Betreff: Re: Wicket Spring boot - use spring devtools
>
> Hi,
>
> This is how Spring Dev Tools work. When it detects a change it removes the
> old application class loader and creates a new one.
> Why this is a problem for you ?
>
> I personally prefer to use DCEVM (https://dcevm.github.io/). It is able to
> redefine a specific class in the current class loader.
> When I change a Spring @Configuration or Hibernate mapping I just restart
> the application manually.
>
> On Wed, Aug 28, 2019 at 11:25 AM Per Newgro  wrote:
>
> > Hello *,
> >
> > I migrate my current wicket app to spring boot version (
> > https://github.com/MarcGiffing/wicket-spring-boot).
> >
> > So far it was straightforward. But now i experience a problem with
> > inclusion of
> > 
> >
> > org.springframework.boot
> >
> > spring-boot-devtools
> > 
> >
> > It seems that the "restart / reload feature" of devtools loads my classes
> > multiple times, so that they are not equal anymore (x.class <> x.class).
> > I understand that this is happening. But i would like to know if there is
> > another option for me beside - removing spring-boot-devtools.
> >
> > Would be nice to here from you
> > Thanks
> > Per
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Martin Grigorov
Hi,

This is how Spring Dev Tools work. When it detects a change it removes the
old application class loader and creates a new one.
Why this is a problem for you ?

I personally prefer to use DCEVM (https://dcevm.github.io/). It is able to
redefine a specific class in the current class loader.
When I change a Spring @Configuration or Hibernate mapping I just restart
the application manually.

On Wed, Aug 28, 2019 at 11:25 AM Per Newgro  wrote:

> Hello *,
>
> I migrate my current wicket app to spring boot version (
> https://github.com/MarcGiffing/wicket-spring-boot).
>
> So far it was straightforward. But now i experience a problem with
> inclusion of
> 
>
> org.springframework.boot
>
> spring-boot-devtools
> 
>
> It seems that the "restart / reload feature" of devtools loads my classes
> multiple times, so that they are not equal anymore (x.class <> x.class).
> I understand that this is happening. But i would like to know if there is
> another option for me beside - removing spring-boot-devtools.
>
> Would be nice to here from you
> Thanks
> Per
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
Hello *,

I migrate my current wicket app to spring boot version 
(https://github.com/MarcGiffing/wicket-spring-boot).

So far it was straightforward. But now i experience a problem with inclusion of


org.springframework.boot

spring-boot-devtools


It seems that the "restart / reload feature" of devtools loads my classes 
multiple times, so that they are not equal anymore (x.class <> x.class).
I understand that this is happening. But i would like to know if there is 
another option for me beside - removing spring-boot-devtools.

Would be nice to here from you
Thanks
Per

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-25 Thread Zbynek Vavros
;)
> > > > >
> > > > > .and().csrf().disable();
> > > > > }
> > > > > }
> > > > >
> > > > > @Bean
> > > > > public static BCryptPasswordEncoder passwordEncoder() {
> > > > > return new BCryptPasswordEncoder();
> > > > > }
> > > > >
> > > > > @Bean(name = "authenticationManager")
> > > > > @Override
> > > > > public AuthenticationManager authenticationManagerBean() throws
> > > > > Exception {
> > > > >
> > > > > return super.authenticationManagerBean();
> > > > > }
> > > > > public interface IAuthenticationFacade {
> > > > > Authentication getAuthentication();
> > > > > }
> > > > > @Component
> > > > > public class AuthenticationFacade implements
> > IAuthenticationFacade
> > > {
> > > > >
> > > > > @Override
> > > > > public Authentication getAuthentication() {
> > > > > return
> > > > SecurityContextHolder.getContext().getAuthentication();
> > > > > }
> > > > > }
> > > > >
> > > > > @Bean
> > > > > public UserDetailsService userDetailsService() {
> > > > > InMemoryUserDetailsManager manager = new
> > > > > InMemoryUserDetailsManager();
> > > > > manager.createUser(
> > > > > User.withUsername("admin")
> > > > >
> > > > > .password(passwordEncoder().encode("admin")).authorities("USER",
> > > "ADMIN")
> > > > > .build());
> > > > >
> > > > > manager.createUser(
> > > > > User.withUsername("actuator")
> > > > >
> > > > > .password(passwordEncoder().encode("actuator")).roles("ACTUATOR")
> > > > > .build());
> > > > >
> > > > > return manager;
> > > > > }
> > > > > }
> > > > >
> > > > >
> > > > > On Thu, Jan 24, 2019 at 3:19 PM nino martinez wael <
> > > > > nino.martinez.w...@gmail.com> wrote:
> > > > >
> > > > > > Thanks will try it:)
> > > > > >
> > > > > > On Thu, Jan 24, 2019 at 3:14 PM Zbynek Vavros <
> > > zbynekvav...@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > >> In my case it works something like this:
> > > > > >>
> > > > > >> @Configuration
> > > > > >> @EnableWebSecurity
> > > > > >> public class SecurityConfiguration {
> > > > > >>
> > > > > >> @Configuration
> > > > > >> @Order(1)
> > > > > >> public static class RestSecurityConfig extends
> > > > > >> WebSecurityConfigurerAdapter {
> > > > > >>
> > > > > >> .. user details service, auth providers etc
> > > > > >>
> > > > > >> @Override
> > > > > >> protected void configure(HttpSecurity http) throws
> > > Exception {
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http.antMatcher("/api/**").authorizeRequests().anyRequest().authenticated()
> > > > > >> .and().csrf().disable()
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
> > > > > >> .and().httpBasic();
> > > > > >> }
> > > > > >> }
> > > > > >>
> > > > > >> @Configuration
> > > > > >> @Order(2)
> > > > > >> public static class WicketSecurityConfig extends
> > > > > >> WebSecurityConfigurerAdapter {
> &

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-25 Thread nino martinez wael
; > .build());
> > > >
> > > > return manager;
> > > > }
> > > > }
> > > >
> > > >
> > > > On Thu, Jan 24, 2019 at 3:19 PM nino martinez wael <
> > > > nino.martinez.w...@gmail.com> wrote:
> > > >
> > > > > Thanks will try it:)
> > > > >
> > > > > On Thu, Jan 24, 2019 at 3:14 PM Zbynek Vavros <
> > zbynekvav...@gmail.com>
> > > > > wrote:
> > > > >
> > > > >> In my case it works something like this:
> > > > >>
> > > > >> @Configuration
> > > > >> @EnableWebSecurity
> > > > >> public class SecurityConfiguration {
> > > > >>
> > > > >> @Configuration
> > > > >> @Order(1)
> > > > >> public static class RestSecurityConfig extends
> > > > >> WebSecurityConfigurerAdapter {
> > > > >>
> > > > >> .. user details service, auth providers etc
> > > > >>
> > > > >> @Override
> > > > >> protected void configure(HttpSecurity http) throws
> > Exception {
> > > > >>
> > > > >>
> > > > >>
> > > >
> > >
> >
> http.antMatcher("/api/**").authorizeRequests().anyRequest().authenticated()
> > > > >> .and().csrf().disable()
> > > > >>
> > > > >>
> > > > >>
> > > >
> > >
> >
> .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
> > > > >> .and().httpBasic();
> > > > >> }
> > > > >> }
> > > > >>
> > > > >> @Configuration
> > > > >> @Order(2)
> > > > >> public static class WicketSecurityConfig extends
> > > > >> WebSecurityConfigurerAdapter {
> > > > >>
> > > > >> .. user details service, auth providers etc
> > > > >>
> > > > >> @Override
> > > > >> protected void configure(AuthenticationManagerBuilder
> auth)
> > > > throws
> > > > >> Exception {
> > > > >>
> >  auth.authenticationProvider(wicketAuthenticationProvider);
> > > > >> }
> > > > >>
> > > > >> @Override
> > > > >> protected void configure(HttpSecurity http) throws
> > Exception {
> > > > >> http.antMatcher("/page/**").authorizeRequests()
> > > > >> .antMatchers("/page/login**").permitAll()
> > > > >> .antMatchers("/page/**").hasRole("ROLE")
> > > > >>
> > > > >>
> > > > >>
> > > >
> > >
> >
> .and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
> > > > >> .and().csrf().disable();
> > > > >> }
> > > > >>
> > > > >> @Override
> > > > >> @Bean(name = "authenticationManager")
> > > > >> public AuthenticationManager authenticationManagerBean()
> > > throws
> > > > >> Exception {
> > > > >> return super.authenticationManagerBean();
> > > > >> }
> > > > >> }
> > > > >> }
> > > > >>
> > > > >> The RestSecurityConfigwould be what you would do for actuators,
> for
> > me
> > > > >> thats the REST API.
> > > > >> Not the order of "antMatcher", "authorizeRequests" and "
> > antMatchers".
> > > > >>
> > > > >> Zbynek
> > > > >>
> > > > >> On Thu, Jan 24, 2019 at 3:09 PM nino martinez wael <
> > > > >> nino.martinez.w...@gmail.com> wrote:
> > > > >>
> > > > >> > do you have an example? OR is it just to cut them into two like:
> > > > >> > WebSecurityConfigurerAdapter A:
> > > > >> >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> > > > >> >
> > > > >> > WebSecurityConfigurerAdapter B:
> > > > >> >  http
> > > > >> >  .csrf().disable()
> > > > >> >  .authorizeRequests().anyRequest().permitAll()
> > > > >> >  .and()
> > > > >> >  .logout()
> > > > >> >  .permitAll();
> > > > >> >  http.headers().frameOptions().disable();
> > > > >> >
> > > > >> >
> > > > >> > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros <
> > > zbynekvav...@gmail.com
> > > > >
> > > > >> > wrote:
> > > > >> >
> > > > >> > > Hi,
> > > > >> > >
> > > > >> > > I did similar thing, the trick here is to use two
> > > > >> > > WebSecurityConfigurerAdaptes.
> > > > >> > >
> > > > >> > > Zbynek
> > > > >> > >
> > > > >> > > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> > > > >> > > nino.martinez.w...@gmail.com> wrote:
> > > > >> > >
> > > > >> > > > Hope its okay to use the wicket user mailing list for this:)
> > > > >> > > >
> > > > >> > > > First of all thanks to MarcGiffing for making the project.
> > But I
> > > > >> cannot
> > > > >> > > get
> > > > >> > > > actuator endpoints to work with spring security and wicket
> > > spring
> > > > >> > boot..
> > > > >> > > > I've tried a lot of things..
> > > > >> > > >
> > > > >> > > > IN my WebSecurityConfigurerAdapter:
> > > > >> > > >
> > > > >> > > >  http
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> > > > >> > > >
> > > > >> > > > http
> > > > >> > > > .csrf().disable()
> > > > >> > > >
>  .authorizeRequests().anyRequest().permitAll()
> > > > >> > > > .and()
> > > > >> > > > .logout()
> > > > >> > > > .permitAll();
> > > > >> > > > http.headers().frameOptions().disable();
> > > > >> > > >
> > > > >> > > > But that just disables actuator and messes with the Wicket
> > side
> > > of
> > > > >> the
> > > > >> > > > security.. Any one have some clues=
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > > Best regards / Med venlig hilsen
> > > > >> > > > Nino Martinez
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> > Best regards / Med venlig hilsen
> > > > >> > Nino Martinez
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Best regards / Med venlig hilsen
> > > > > Nino Martinez
> > > > >
> > > >
> > > >
> > > > --
> > > > Best regards / Med venlig hilsen
> > > > Nino Martinez
> > > >
> > >
> >
> >
> > --
> > Best regards / Med venlig hilsen
> > Nino Martinez
> >
>


-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
nPolicy(SessionCreationPolicy.STATELESS)
> > > >> .and().httpBasic();
> > > >> }
> > > >> }
> > > >>
> > > >> @Configuration
> > > >> @Order(2)
> > > >> public static class WicketSecurityConfig extends
> > > >> WebSecurityConfigurerAdapter {
> > > >>
> > > >> .. user details service, auth providers etc
> > > >>
> > > >> @Override
> > > >> protected void configure(AuthenticationManagerBuilder auth)
> > > throws
> > > >> Exception {
> > > >>
>  auth.authenticationProvider(wicketAuthenticationProvider);
> > > >> }
> > > >>
> > > >> @Override
> > > >> protected void configure(HttpSecurity http) throws
> Exception {
> > > >> http.antMatcher("/page/**").authorizeRequests()
> > > >> .antMatchers("/page/login**").permitAll()
> > > >> .antMatchers("/page/**").hasRole("ROLE")
> > > >>
> > > >>
> > > >>
> > >
> >
> .and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
> > > >> .and().csrf().disable();
> > > >> }
> > > >>
> > > >> @Override
> > > >> @Bean(name = "authenticationManager")
> > > >> public AuthenticationManager authenticationManagerBean()
> > throws
> > > >> Exception {
> > > >> return super.authenticationManagerBean();
> > > >> }
> > > >> }
> > > >> }
> > > >>
> > > >> The RestSecurityConfigwould be what you would do for actuators, for
> me
> > > >> thats the REST API.
> > > >> Not the order of "antMatcher", "authorizeRequests" and "
> antMatchers".
> > > >>
> > > >> Zbynek
> > > >>
> > > >> On Thu, Jan 24, 2019 at 3:09 PM nino martinez wael <
> > > >> nino.martinez.w...@gmail.com> wrote:
> > > >>
> > > >> > do you have an example? OR is it just to cut them into two like:
> > > >> > WebSecurityConfigurerAdapter A:
> > > >> >
> > > >> >
> > > >>
> > >
> >
> http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> > > >> >
> > > >> > WebSecurityConfigurerAdapter B:
> > > >> >  http
> > > >> >  .csrf().disable()
> > > >> >  .authorizeRequests().anyRequest().permitAll()
> > > >> >  .and()
> > > >> >  .logout()
> > > >> >  .permitAll();
> > > >> >  http.headers().frameOptions().disable();
> > > >> >
> > > >> >
> > > >> > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros <
> > zbynekvav...@gmail.com
> > > >
> > > >> > wrote:
> > > >> >
> > > >> > > Hi,
> > > >> > >
> > > >> > > I did similar thing, the trick here is to use two
> > > >> > > WebSecurityConfigurerAdaptes.
> > > >> > >
> > > >> > > Zbynek
> > > >> > >
> > > >> > > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> > > >> > > nino.martinez.w...@gmail.com> wrote:
> > > >> > >
> > > >> > > > Hope its okay to use the wicket user mailing list for this:)
> > > >> > > >
> > > >> > > > First of all thanks to MarcGiffing for making the project.
> But I
> > > >> cannot
> > > >> > > get
> > > >> > > > actuator endpoints to work with spring security and wicket
> > spring
> > > >> > boot..
> > > >> > > > I've tried a lot of things..
> > > >> > > >
> > > >> > > > IN my WebSecurityConfigurerAdapter:
> > > >> > > >
> > > >> > > >  http
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> > > >> > > >
> > > >> > > > http
> > > >> > > > .csrf().disable()
> > > >> > > > .authorizeRequests().anyRequest().permitAll()
> > > >> > > > .and()
> > > >> > > > .logout()
> > > >> > > > .permitAll();
> > > >> > > > http.headers().frameOptions().disable();
> > > >> > > >
> > > >> > > > But that just disables actuator and messes with the Wicket
> side
> > of
> > > >> the
> > > >> > > > security.. Any one have some clues=
> > > >> > > >
> > > >> > > > --
> > > >> > > > Best regards / Med venlig hilsen
> > > >> > > > Nino Martinez
> > > >> > > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Best regards / Med venlig hilsen
> > > >> > Nino Martinez
> > > >> >
> > > >>
> > > >
> > > >
> > > > --
> > > > Best regards / Med venlig hilsen
> > > > Nino Martinez
> > > >
> > >
> > >
> > > --
> > > Best regards / Med venlig hilsen
> > > Nino Martinez
> > >
> >
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
quot;/page/login").loginProcessingUrl("/fake-url")
> >
> > .and().csrf().disable();
> > }
> > }
> >
> > @Bean
> > public static BCryptPasswordEncoder passwordEncoder() {
> > return new BCryptPasswordEncoder();
> > }
> >
> > @Bean(name = "authenticationManager")
> > @Override
> > public AuthenticationManager authenticationManagerBean() throws
> > Exception {
> >
> > return super.authenticationManagerBean();
> > }
> > public interface IAuthenticationFacade {
> > Authentication getAuthentication();
> > }
> > @Component
> > public class AuthenticationFacade implements IAuthenticationFacade {
> >
> > @Override
> > public Authentication getAuthentication() {
> > return
> SecurityContextHolder.getContext().getAuthentication();
> > }
> > }
> >
> > @Bean
> > public UserDetailsService userDetailsService() {
> > InMemoryUserDetailsManager manager = new
> > InMemoryUserDetailsManager();
> > manager.createUser(
> > User.withUsername("admin")
> >
> > .password(passwordEncoder().encode("admin")).authorities("USER", "ADMIN")
> > .build());
> >
> > manager.createUser(
> > User.withUsername("actuator")
> >
> > .password(passwordEncoder().encode("actuator")).roles("ACTUATOR")
> > .build());
> >
> > return manager;
> > }
> > }
> >
> >
> > On Thu, Jan 24, 2019 at 3:19 PM nino martinez wael <
> > nino.martinez.w...@gmail.com> wrote:
> >
> > > Thanks will try it:)
> > >
> > > On Thu, Jan 24, 2019 at 3:14 PM Zbynek Vavros 
> > > wrote:
> > >
> > >> In my case it works something like this:
> > >>
> > >> @Configuration
> > >> @EnableWebSecurity
> > >> public class SecurityConfiguration {
> > >>
> > >> @Configuration
> > >> @Order(1)
> > >> public static class RestSecurityConfig extends
> > >> WebSecurityConfigurerAdapter {
> > >>
> > >> .. user details service, auth providers etc
> > >>
> > >> @Override
> > >> protected void configure(HttpSecurity http) throws Exception {
> > >>
> > >>
> > >>
> >
> http.antMatcher("/api/**").authorizeRequests().anyRequest().authenticated()
> > >> .and().csrf().disable()
> > >>
> > >>
> > >>
> >
> .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
> > >> .and().httpBasic();
> > >> }
> > >> }
> > >>
> > >> @Configuration
> > >> @Order(2)
> > >> public static class WicketSecurityConfig extends
> > >> WebSecurityConfigurerAdapter {
> > >>
> > >> .. user details service, auth providers etc
> > >>
> > >> @Override
> > >> protected void configure(AuthenticationManagerBuilder auth)
> > throws
> > >> Exception {
> > >> auth.authenticationProvider(wicketAuthenticationProvider);
> > >> }
> > >>
> > >> @Override
> > >> protected void configure(HttpSecurity http) throws Exception {
> > >> http.antMatcher("/page/**").authorizeRequests()
> > >> .antMatchers("/page/login**").permitAll()
> > >> .antMatchers("/page/**").hasRole("ROLE")
> > >>
> > >>
> > >>
> >
> .and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
> > >> .and().csrf().disable();
> > >> }
> > >>
> > >> @Override
> > >>     @Bean(name = "authenticationManager")
> > >> public AuthenticationManager authenticationManagerBean()
> throws
> > >> Exception {
> > >> return super.authenticationManagerBean();
> > >> }
> > >> }
> > 

Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
r().encode("actuator")).roles("ACTUATOR")
> .build());
>
> return manager;
> }
> }
>
>
> On Thu, Jan 24, 2019 at 3:19 PM nino martinez wael <
> nino.martinez.w...@gmail.com> wrote:
>
> > Thanks will try it:)
> >
> > On Thu, Jan 24, 2019 at 3:14 PM Zbynek Vavros 
> > wrote:
> >
> >> In my case it works something like this:
> >>
> >> @Configuration
> >> @EnableWebSecurity
> >> public class SecurityConfiguration {
> >>
> >> @Configuration
> >> @Order(1)
> >> public static class RestSecurityConfig extends
> >> WebSecurityConfigurerAdapter {
> >>
> >> .. user details service, auth providers etc
> >>
> >> @Override
> >> protected void configure(HttpSecurity http) throws Exception {
> >>
> >>
> >>
> http.antMatcher("/api/**").authorizeRequests().anyRequest().authenticated()
> >> .and().csrf().disable()
> >>
> >>
> >>
> .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
> >> .and().httpBasic();
> >> }
> >> }
> >>
> >> @Configuration
> >> @Order(2)
> >> public static class WicketSecurityConfig extends
> >> WebSecurityConfigurerAdapter {
> >>
> >> .. user details service, auth providers etc
> >>
> >> @Override
> >> protected void configure(AuthenticationManagerBuilder auth)
> throws
> >> Exception {
> >> auth.authenticationProvider(wicketAuthenticationProvider);
> >> }
> >>
> >> @Override
> >> protected void configure(HttpSecurity http) throws Exception {
> >> http.antMatcher("/page/**").authorizeRequests()
> >> .antMatchers("/page/login**").permitAll()
> >> .antMatchers("/page/**").hasRole("ROLE")
> >>
> >>
> >>
> .and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
> >> .and().csrf().disable();
> >> }
> >>
> >> @Override
> >> @Bean(name = "authenticationManager")
> >> public AuthenticationManager authenticationManagerBean() throws
> >> Exception {
> >> return super.authenticationManagerBean();
> >> }
> >> }
> >> }
> >>
> >> The RestSecurityConfigwould be what you would do for actuators, for me
> >> thats the REST API.
> >> Not the order of "antMatcher", "authorizeRequests" and " antMatchers".
> >>
> >> Zbynek
> >>
> >> On Thu, Jan 24, 2019 at 3:09 PM nino martinez wael <
> >> nino.martinez.w...@gmail.com> wrote:
> >>
> >> > do you have an example? OR is it just to cut them into two like:
> >> > WebSecurityConfigurerAdapter A:
> >> >
> >> >
> >>
> http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> >> >
> >> > WebSecurityConfigurerAdapter B:
> >> >  http
> >> >  .csrf().disable()
> >> >  .authorizeRequests().anyRequest().permitAll()
> >> >  .and()
> >> >  .logout()
> >> >  .permitAll();
> >> >  http.headers().frameOptions().disable();
> >> >
> >> >
> >> > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros  >
> >> > wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > I did similar thing, the trick here is to use two
> >> > > WebSecurityConfigurerAdaptes.
> >> > >
> >> > > Zbynek
> >> > >
> >> > > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> >> > > nino.martinez.w...@gmail.com> wrote:
> >> > >
> >> > > > Hope its okay to use the wicket user mailing list for this:)
> >> > > >
> >> > > > First of all thanks to MarcGiffing for making the project. But I
> >> cannot
> >> > > get
> >> > > > actuator endpoints to work with spring security and wicket spring
> >> > boot..
> >> > > > I've tried a lot of things..
> >> > > >
> >> > > > IN my WebSecurityConfigurerAdapter:
> >> > > >
> >> > > >  http
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> >> > > >
> >> > > > http
> >> > > > .csrf().disable()
> >> > > > .authorizeRequests().anyRequest().permitAll()
> >> > > > .and()
> >> > > > .logout()
> >> > > > .permitAll();
> >> > > > http.headers().frameOptions().disable();
> >> > > >
> >> > > > But that just disables actuator and messes with the Wicket side of
> >> the
> >> > > > security.. Any one have some clues=
> >> > > >
> >> > > > --
> >> > > > Best regards / Med venlig hilsen
> >> > > > Nino Martinez
> >> > > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Best regards / Med venlig hilsen
> >> > Nino Martinez
> >> >
> >>
> >
> >
> > --
> > Best regards / Med venlig hilsen
> > Nino Martinez
> >
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
agement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
>> .and().httpBasic();
>> }
>> }
>>
>> @Configuration
>> @Order(2)
>> public static class WicketSecurityConfig extends
>> WebSecurityConfigurerAdapter {
>>
>> .. user details service, auth providers etc
>>
>> @Override
>> protected void configure(AuthenticationManagerBuilder auth) throws
>> Exception {
>> auth.authenticationProvider(wicketAuthenticationProvider);
>> }
>>
>> @Override
>> protected void configure(HttpSecurity http) throws Exception {
>> http.antMatcher("/page/**").authorizeRequests()
>> .antMatchers("/page/login**").permitAll()
>> .antMatchers("/page/**").hasRole("ROLE")
>>
>>
>> .and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
>> .and().csrf().disable();
>> }
>>
>> @Override
>> @Bean(name = "authenticationManager")
>> public AuthenticationManager authenticationManagerBean() throws
>> Exception {
>> return super.authenticationManagerBean();
>> }
>> }
>> }
>>
>> The RestSecurityConfigwould be what you would do for actuators, for me
>> thats the REST API.
>> Not the order of "antMatcher", "authorizeRequests" and " antMatchers".
>>
>> Zbynek
>>
>> On Thu, Jan 24, 2019 at 3:09 PM nino martinez wael <
>> nino.martinez.w...@gmail.com> wrote:
>>
>> > do you have an example? OR is it just to cut them into two like:
>> > WebSecurityConfigurerAdapter A:
>> >
>> >
>> http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
>> >
>> > WebSecurityConfigurerAdapter B:
>> >  http
>> >      .csrf().disable()
>> >  .authorizeRequests().anyRequest().permitAll()
>> >  .and()
>> >  .logout()
>> >  .permitAll();
>> >  http.headers().frameOptions().disable();
>> >
>> >
>> > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros 
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > I did similar thing, the trick here is to use two
>> > > WebSecurityConfigurerAdaptes.
>> > >
>> > > Zbynek
>> > >
>> > > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
>> > > nino.martinez.w...@gmail.com> wrote:
>> > >
>> > > > Hope its okay to use the wicket user mailing list for this:)
>> > > >
>> > > > First of all thanks to MarcGiffing for making the project. But I
>> cannot
>> > > get
>> > > > actuator endpoints to work with spring security and wicket spring
>> > boot..
>> > > > I've tried a lot of things..
>> > > >
>> > > > IN my WebSecurityConfigurerAdapter:
>> > > >
>> > > >  http
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
>> > > >
>> > > > http
>> > > > .csrf().disable()
>> > > > .authorizeRequests().anyRequest().permitAll()
>> > > > .and()
>> > > > .logout()
>> > > > .permitAll();
>> > > > http.headers().frameOptions().disable();
>> > > >
>> > > > But that just disables actuator and messes with the Wicket side of
>> the
>> > > > security.. Any one have some clues=
>> > > >
>> > > > --
>> > > > Best regards / Med venlig hilsen
>> > > > Nino Martinez
>> > > >
>> > >
>> >
>> >
>> > --
>> > Best regards / Med venlig hilsen
>> > Nino Martinez
>> >
>>
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
Thanks will try it:)

On Thu, Jan 24, 2019 at 3:14 PM Zbynek Vavros 
wrote:

> In my case it works something like this:
>
> @Configuration
> @EnableWebSecurity
> public class SecurityConfiguration {
>
> @Configuration
> @Order(1)
> public static class RestSecurityConfig extends
> WebSecurityConfigurerAdapter {
>
> .. user details service, auth providers etc
>
> @Override
> protected void configure(HttpSecurity http) throws Exception {
>
> http.antMatcher("/api/**").authorizeRequests().anyRequest().authenticated()
> .and().csrf().disable()
>
> .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
> .and().httpBasic();
> }
> }
>
> @Configuration
> @Order(2)
> public static class WicketSecurityConfig extends
> WebSecurityConfigurerAdapter {
>
> .. user details service, auth providers etc
>
> @Override
> protected void configure(AuthenticationManagerBuilder auth) throws
> Exception {
> auth.authenticationProvider(wicketAuthenticationProvider);
> }
>
> @Override
> protected void configure(HttpSecurity http) throws Exception {
> http.antMatcher("/page/**").authorizeRequests()
> .antMatchers("/page/login**").permitAll()
> .antMatchers("/page/**").hasRole("ROLE")
>
> .and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
> .and().csrf().disable();
> }
>
> @Override
> @Bean(name = "authenticationManager")
> public AuthenticationManager authenticationManagerBean() throws
> Exception {
> return super.authenticationManagerBean();
> }
> }
> }
>
> The RestSecurityConfigwould be what you would do for actuators, for me
> thats the REST API.
> Not the order of "antMatcher", "authorizeRequests" and " antMatchers".
>
> Zbynek
>
> On Thu, Jan 24, 2019 at 3:09 PM nino martinez wael <
> nino.martinez.w...@gmail.com> wrote:
>
> > do you have an example? OR is it just to cut them into two like:
> > WebSecurityConfigurerAdapter A:
> >
> >
> http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> >
> > WebSecurityConfigurerAdapter B:
> >  http
> >  .csrf().disable()
> >  .authorizeRequests().anyRequest().permitAll()
> >  .and()
> >  .logout()
> >  .permitAll();
> >  http.headers().frameOptions().disable();
> >
> >
> > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros 
> > wrote:
> >
> > > Hi,
> > >
> > > I did similar thing, the trick here is to use two
> > > WebSecurityConfigurerAdaptes.
> > >
> > > Zbynek
> > >
> > > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> > > nino.martinez.w...@gmail.com> wrote:
> > >
> > > > Hope its okay to use the wicket user mailing list for this:)
> > > >
> > > > First of all thanks to MarcGiffing for making the project. But I
> cannot
> > > get
> > > > actuator endpoints to work with spring security and wicket spring
> > boot..
> > > > I've tried a lot of things..
> > > >
> > > > IN my WebSecurityConfigurerAdapter:
> > > >
> > > >  http
> > > >
> > > >
> > > >
> > >
> >
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> > > >
> > > > http
> > > > .csrf().disable()
> > > > .authorizeRequests().anyRequest().permitAll()
> > > > .and()
> > > > .logout()
> > > > .permitAll();
> > > > http.headers().frameOptions().disable();
> > > >
> > > > But that just disables actuator and messes with the Wicket side of
> the
> > > > security.. Any one have some clues=
> > > >
> > > > --
> > > > Best regards / Med venlig hilsen
> > > > Nino Martinez
> > > >
> > >
> >
> >
> > --
> > Best regards / Med venlig hilsen
> > Nino Martinez
> >
>


-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
In my case it works something like this:

@Configuration
@EnableWebSecurity
public class SecurityConfiguration {

@Configuration
@Order(1)
public static class RestSecurityConfig extends
WebSecurityConfigurerAdapter {

.. user details service, auth providers etc

@Override
protected void configure(HttpSecurity http) throws Exception {

http.antMatcher("/api/**").authorizeRequests().anyRequest().authenticated()
.and().csrf().disable()

.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and().httpBasic();
}
}

@Configuration
@Order(2)
public static class WicketSecurityConfig extends
WebSecurityConfigurerAdapter {

.. user details service, auth providers etc

@Override
protected void configure(AuthenticationManagerBuilder auth) throws
Exception {
auth.authenticationProvider(wicketAuthenticationProvider);
}

@Override
protected void configure(HttpSecurity http) throws Exception {
http.antMatcher("/page/**").authorizeRequests()
.antMatchers("/page/login**").permitAll()
.antMatchers("/page/**").hasRole("ROLE")

.and().formLogin().loginPage("/page/login").loginProcessingUrl("/fake-url")
.and().csrf().disable();
}

@Override
@Bean(name = "authenticationManager")
public AuthenticationManager authenticationManagerBean() throws
Exception {
return super.authenticationManagerBean();
}
}
}

The RestSecurityConfigwould be what you would do for actuators, for me
thats the REST API.
Not the order of "antMatcher", "authorizeRequests" and " antMatchers".

Zbynek

On Thu, Jan 24, 2019 at 3:09 PM nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> do you have an example? OR is it just to cut them into two like:
> WebSecurityConfigurerAdapter A:
>
>  
> http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
>
> WebSecurityConfigurerAdapter B:
>  http
>  .csrf().disable()
>  .authorizeRequests().anyRequest().permitAll()
>  .and()
>  .logout()
>  .permitAll();
>  http.headers().frameOptions().disable();
>
>
> On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros 
> wrote:
>
> > Hi,
> >
> > I did similar thing, the trick here is to use two
> > WebSecurityConfigurerAdaptes.
> >
> > Zbynek
> >
> > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> > nino.martinez.w...@gmail.com> wrote:
> >
> > > Hope its okay to use the wicket user mailing list for this:)
> > >
> > > First of all thanks to MarcGiffing for making the project. But I cannot
> > get
> > > actuator endpoints to work with spring security and wicket spring
> boot..
> > > I've tried a lot of things..
> > >
> > > IN my WebSecurityConfigurerAdapter:
> > >
> > >  http
> > >
> > >
> > >
> >
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> > >
> > > http
> > > .csrf().disable()
> > > .authorizeRequests().anyRequest().permitAll()
> > > .and()
> > > .logout()
> > > .permitAll();
> > > http.headers().frameOptions().disable();
> > >
> > > But that just disables actuator and messes with the Wicket side of the
> > > security.. Any one have some clues=
> > >
> > > --
> > > Best regards / Med venlig hilsen
> > > Nino Martinez
> > >
> >
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Zbynek Vavros
Hi,

I did similar thing, the trick here is to use two
WebSecurityConfigurerAdaptes.

Zbynek

On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Hope its okay to use the wicket user mailing list for this:)
>
> First of all thanks to MarcGiffing for making the project. But I cannot get
> actuator endpoints to work with spring security and wicket spring boot..
> I've tried a lot of things..
>
> IN my WebSecurityConfigurerAdapter:
>
>  http
>
>
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
>
> http
> .csrf().disable()
> .authorizeRequests().anyRequest().permitAll()
> .and()
> .logout()
> .permitAll();
> http.headers().frameOptions().disable();
>
> But that just disables actuator and messes with the Wicket side of the
> security.. Any one have some clues=
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
do you have an example? OR is it just to cut them into two like:
WebSecurityConfigurerAdapter A:
 
http.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();

WebSecurityConfigurerAdapter B:
 http
 .csrf().disable()
 .authorizeRequests().anyRequest().permitAll()
 .and()
 .logout()
 .permitAll();
 http.headers().frameOptions().disable();


On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros 
wrote:

> Hi,
>
> I did similar thing, the trick here is to use two
> WebSecurityConfigurerAdaptes.
>
> Zbynek
>
> On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> nino.martinez.w...@gmail.com> wrote:
>
> > Hope its okay to use the wicket user mailing list for this:)
> >
> > First of all thanks to MarcGiffing for making the project. But I cannot
> get
> > actuator endpoints to work with spring security and wicket spring boot..
> > I've tried a lot of things..
> >
> > IN my WebSecurityConfigurerAdapter:
> >
> >  http
> >
> >
> >
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> >
> > http
> > .csrf().disable()
> > .authorizeRequests().anyRequest().permitAll()
> > .and()
> > .logout()
> > .permitAll();
> > http.headers().frameOptions().disable();
> >
> > But that just disables actuator and messes with the Wicket side of the
> > security.. Any one have some clues=
> >
> > --
> > Best regards / Med venlig hilsen
> > Nino Martinez
> >
>


-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
Already done that.. Thanks for the idea.. On my webservice project I am
doing this:

http
.authorizeRequests()

.antMatchers("/services/**").hasRole("USER").and().httpBasic().and().
csrf().disable();
http
.authorizeRequests()

.antMatchers("/actuator/**").hasRole("ACTUATOR").and().httpBasic().and().
csrf().disable();

And its working fine, I am wondering if its because my mountpoints for
wicket all are mapped to root like /home /login .. Which could conflict
with /actuator?

On Thu, Jan 24, 2019 at 3:01 PM Andrea Del Bene 
wrote:

> I had a problem with Spring Boot 2 and actuator as many of them are
> disabled by default in the new version. I don't know if this is the case
> for you, but I would try enabling all of them via config file. For example
> with yml is something like:
>
> management:
>   endpoints:
> web:
>   exposure:
> include: "*"
>
> On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> nino.martinez.w...@gmail.com> wrote:
>
> > Hope its okay to use the wicket user mailing list for this:)
> >
> > First of all thanks to MarcGiffing for making the project. But I cannot
> get
> > actuator endpoints to work with spring security and wicket spring boot..
> > I've tried a lot of things..
> >
> > IN my WebSecurityConfigurerAdapter:
> >
> >  http
> >
> >
> >
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
> >
> > http
> > .csrf().disable()
> > .authorizeRequests().anyRequest().permitAll()
> > .and()
> > .logout()
> > .permitAll();
> > http.headers().frameOptions().disable();
> >
> > But that just disables actuator and messes with the Wicket side of the
> > security.. Any one have some clues=
> >
> > --
> > Best regards / Med venlig hilsen
> > Nino Martinez
> >
>
>
> --
> Andrea Del Bene.
> Apache Wicket committer.
>


-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread Andrea Del Bene
I had a problem with Spring Boot 2 and actuator as many of them are
disabled by default in the new version. I don't know if this is the case
for you, but I would try enabling all of them via config file. For example
with yml is something like:

management:
  endpoints:
web:
  exposure:
include: "*"

On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Hope its okay to use the wicket user mailing list for this:)
>
> First of all thanks to MarcGiffing for making the project. But I cannot get
> actuator endpoints to work with spring security and wicket spring boot..
> I've tried a lot of things..
>
> IN my WebSecurityConfigurerAdapter:
>
>  http
>
>
> .authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();
>
> http
> .csrf().disable()
> .authorizeRequests().anyRequest().permitAll()
> .and()
> .logout()
> .permitAll();
> http.headers().frameOptions().disable();
>
> But that just disables actuator and messes with the Wicket side of the
> security.. Any one have some clues=
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


-- 
Andrea Del Bene.
Apache Wicket committer.


Wicket Spring boot versus actuator (wicket 8.2.0) + spring security (boot 2.1.2)

2019-01-24 Thread nino martinez wael
Hope its okay to use the wicket user mailing list for this:)

First of all thanks to MarcGiffing for making the project. But I cannot get
actuator endpoints to work with spring security and wicket spring boot..
I've tried a lot of things..

IN my WebSecurityConfigurerAdapter:

 http

.authorizeRequests().antMatchers("/actuator/**","/actuator").hasRole("ACTUATOR").and().httpBasic();

http
.csrf().disable()
.authorizeRequests().anyRequest().permitAll()
.and()
.logout()
.permitAll();
http.headers().frameOptions().disable();

But that just disables actuator and messes with the Wicket side of the
security.. Any one have some clues=

-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Wicket Spring Boot open entity manager in view config

2018-03-31 Thread Per Newgro

Hi,

i can answer myself :-)

    public @Bean FilterRegistrationBean openEntityManagerInViewFilter() {
        FilterRegistrationBean registration = new FilterRegistrationBean();
        registration.setFilter(new OpenEntityManagerInViewFilter());
        registration.setName("openEntityManagerInView");
        registration.addUrlPatterns("/*");
        return registration;
    }

If some1 else looks for this.

Cheers
Per

Am 23.03.2018 um 19:47 schrieb Per Newgro:

Hello,

we would like to use the open-entitymanager-in-view pattern. It was 
working in our "old fashioned" spring application by configuring 
filter in web.xml.


But we can not find the appropriate config for wicket spring boot. 
Enable spring.jpa.open-entitymanager-in-view=true seems not to be enough.


We still get LazyInitException - no session.

Can one of you please provide a short comment, what we can still check?


Thanks for your support.

Per


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket Spring Boot open entity manager in view config

2018-03-23 Thread Per Newgro

Hello,

we would like to use the open-entitymanager-in-view pattern. It was 
working in our "old fashioned" spring application by configuring filter 
in web.xml.


But we can not find the appropriate config for wicket spring boot. 
Enable spring.jpa.open-entitymanager-in-view=true seems not to be enough.


We still get LazyInitException - no session.

Can one of you please provide a short comment, what we can still check?


Thanks for your support.

Per


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Spring Boot Article

2017-04-02 Thread Andrea Del Bene



On 02/04/2017 22:00, Marc wrote:

Hey

sorry Tobias, I've had some problems with the Spring intetration. I don't
remember exactly what the problem was but it was a little bit frustrating so
that I'm lost the sight of it (Spring AOP / AspectJ related - no direct
relation to your project) .

@Andrea I've subscribed the mailing list :). Thanks for the article!


I suspected it :-)



Btw I've just released version 2.0.1 which uses Wicket 8.0.0-M5.


Thanks for your work!




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Boot-Article-tp4677570p4677575.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





Re: Wicket Spring Boot Article

2017-04-02 Thread Marc
Hey

sorry Tobias, I've had some problems with the Spring intetration. I don't
remember exactly what the problem was but it was a little bit frustrating so
that I'm lost the sight of it (Spring AOP / AspectJ related - no direct
relation to your project) .

@Andrea I've subscribed the mailing list :). Thanks for the article! 

Btw I've just released version 2.0.1 which uses Wicket 8.0.0-M5.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Boot-Article-tp4677570p4677575.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Spring Boot Article

2017-04-02 Thread Tobias Soloschenko
sadly not. I was just in contact with him, because of metrics, but that is some 
time ago.

kind regards

Tobias

> Am 02.04.2017 um 16:58 schrieb Andrea Del Bene :
> 
> You're welcome!
> ps: anybody is in contact with Marc
> ?
> 
> On 2 Apr 2017 16:55, "Tobias Soloschenko" 
> wrote:
> 
> Hi,
> 
> just wanted to point out that this is really great:
> 
> https://mobile.twitter.com/apache_wicket/status/847763903249600513
> 
> I think for Spring - Spring Boot is the future. Thanks for it Marc Giffing
> and Andrea Del Bene for the article! I am going to play around with this
> soon. :-)
> 
> kind regards
> 
> Tobias

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Spring Boot Article

2017-04-02 Thread Andrea Del Bene
You're welcome!
ps: anybody is in contact with Marc
?

On 2 Apr 2017 16:55, "Tobias Soloschenko" 
wrote:

Hi,

just wanted to point out that this is really great:

https://mobile.twitter.com/apache_wicket/status/847763903249600513

I think for Spring - Spring Boot is the future. Thanks for it Marc Giffing
and Andrea Del Bene for the article! I am going to play around with this
soon. :-)

kind regards

Tobias


Wicket Spring Boot Article

2017-04-02 Thread Tobias Soloschenko
Hi,

just wanted to point out that this is really great:

https://mobile.twitter.com/apache_wicket/status/847763903249600513

I think for Spring - Spring Boot is the future. Thanks for it Marc Giffing and 
Andrea Del Bene for the article! I am going to play around with this soon. :-)

kind regards

Tobias

Re: Wicket & Spring Boot

2015-11-13 Thread Andrew Geery
Hi Marc

That's cool!

I made a Wicket + Spring Boot "Getting Started"-style guide a couple of
months ago: https://github.com/ageery/getting-started-guides/tree/wicket.
The code is on the wicket branch in the complete directory.

It's a filterable data table with ajax CRUD functionality, built on Spring
Boot, Spring Data JPA, Wicket 7, Java 8 and Wicket Bootstrap.

It was inspired by the Vaadin + Spring Boot CRUD example:
https://spring.io/guides/gs/crud-with-vaadin/

Andrew


On Thu, Nov 12, 2015 at 5:20 PM, Martin Grigorov <mgrigo...@apache.org>
wrote:

> Hi Marc,
>
> Welcome to the mailing list and thank you for sharing your project with us!
> I have seen some Wicket+SpringBoot apps both in Wicket and Wicket-Bootstrap
> issue trackers but as far as I can see your project doesn't just use SB but
> actually integrates with it.
> I'll keep an eye on it!
>
> P.S. I guess you know that web.de mail client is based on Wicket too ? :-)
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Nov 12, 2015 at 10:56 PM, Marc <marcgiff...@web.de> wrote:
>
> > Hi all,
> > it's my first post, so I'm hopefully subscribed to the mailing list.
> >
> > Is there currently any Spring Boot integration support?
> >
> > I've started with a Spring Boot Wicket integration:  wicket-spring-boot
> > <https://github.com/MarcGiffing/wicket-spring-boot>  .
> >
> > Besides the maven pom.xml you currently only need thisconfiguration
> class:
> > WicketApplication.java
> > <
> >
> https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter-example/src/main/java/com/giffing/wicket/spring/boot/example/WicketApplication.java
> > >
> > to get a full working wicket application. You only have to execute the
> main
> > method. You should get a default login page and a simple home page.
> Spring
> > security is automatically configured in a default configuration. Within a
> > property file you can switch between deployment or development
> > configruation
> >
> > wicket.configurationType=DEPLOYMENT
> > wicket.compressHTMLEnabled=true  HTMLCompressingConfig.java
> > <
> >
> https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter/src/main/java/com/giffing/wicket/spring/boot/starter/configuration/extensions/HTMLCompressingConfig.java
> > >
> > wicket.statelessCheckerEnabled=true  StatelessCheckerConfig.java
> > <
> >
> https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter/src/main/java/com/giffing/wicket/spring/boot/starter/configuration/extensions/StatelessCheckerConfig.java
> > >
> >
> > My main goal was to learn a bit about Spring Boot but maybe its
> interessing
> > for somone in the Wicket community
> >
> > GreetsMarc
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Boot-tp4672591.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>


Re: Wicket & Spring Boot

2015-11-12 Thread Martin Grigorov
Hi Marc,

Welcome to the mailing list and thank you for sharing your project with us!
I have seen some Wicket+SpringBoot apps both in Wicket and Wicket-Bootstrap
issue trackers but as far as I can see your project doesn't just use SB but
actually integrates with it.
I'll keep an eye on it!

P.S. I guess you know that web.de mail client is based on Wicket too ? :-)

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Nov 12, 2015 at 10:56 PM, Marc <marcgiff...@web.de> wrote:

> Hi all,
> it's my first post, so I'm hopefully subscribed to the mailing list.
>
> Is there currently any Spring Boot integration support?
>
> I've started with a Spring Boot Wicket integration:  wicket-spring-boot
> <https://github.com/MarcGiffing/wicket-spring-boot>  .
>
> Besides the maven pom.xml you currently only need thisconfiguration class:
> WicketApplication.java
> <
> https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter-example/src/main/java/com/giffing/wicket/spring/boot/example/WicketApplication.java
> >
> to get a full working wicket application. You only have to execute the main
> method. You should get a default login page and a simple home page. Spring
> security is automatically configured in a default configuration. Within a
> property file you can switch between deployment or development
> configruation
>
> wicket.configurationType=DEPLOYMENT
> wicket.compressHTMLEnabled=true  HTMLCompressingConfig.java
> <
> https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter/src/main/java/com/giffing/wicket/spring/boot/starter/configuration/extensions/HTMLCompressingConfig.java
> >
> wicket.statelessCheckerEnabled=true  StatelessCheckerConfig.java
> <
> https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter/src/main/java/com/giffing/wicket/spring/boot/starter/configuration/extensions/StatelessCheckerConfig.java
> >
>
> My main goal was to learn a bit about Spring Boot but maybe its interessing
> for somone in the Wicket community
>
> GreetsMarc
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Boot-tp4672591.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Wicket & Spring Boot

2015-11-12 Thread Marc
Hi all,
it's my first post, so I'm hopefully subscribed to the mailing list.

Is there currently any Spring Boot integration support? 

I've started with a Spring Boot Wicket integration:  wicket-spring-boot
<https://github.com/MarcGiffing/wicket-spring-boot>  .

Besides the maven pom.xml you currently only need thisconfiguration class: 
WicketApplication.java
<https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter-example/src/main/java/com/giffing/wicket/spring/boot/example/WicketApplication.java>
  
to get a full working wicket application. You only have to execute the main
method. You should get a default login page and a simple home page. Spring
security is automatically configured in a default configuration. Within a
property file you can switch between deployment or development configruation

wicket.configurationType=DEPLOYMENT
wicket.compressHTMLEnabled=true  HTMLCompressingConfig.java
<https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter/src/main/java/com/giffing/wicket/spring/boot/starter/configuration/extensions/HTMLCompressingConfig.java>
  
wicket.statelessCheckerEnabled=true  StatelessCheckerConfig.java
<https://github.com/MarcGiffing/wicket-spring-boot/blob/master/wicket-spring-boot-starter/src/main/java/com/giffing/wicket/spring/boot/starter/configuration/extensions/StatelessCheckerConfig.java>
  

My main goal was to learn a bit about Spring Boot but maybe its interessing
for somone in the Wicket community

GreetsMarc

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Boot-tp4672591.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org