Re: Wanted: example for Spring Security with wicket-auth-roles

2018-04-18 Thread Martin Grigorov
Hi Tom, I do not remember everything by heart but basically it is: 1. Provide impl of Spring Security's UserDetailsService and make it a @Bean 2. In your AuthenticatedWebSession#authenticate() impl use Spring Security's Authentication to do the work. It was something like SecurityContextHolder.get

Re: ResourceStreamRequestHandler and page refresh

2018-04-18 Thread Sven Meier
Hi, you'll have to update your page first and then initiate the download. For Ajax you can use: https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/AjaxDownloadBehavior.java For Wicket<8 you'll find its predecessor AjaxDownload on the

ResourceStreamRequestHandler and page refresh

2018-04-18 Thread Lon Varscsak
Hey all, I've got a Link that I use to generate and download a report. I'm using a ResourceStreamRequestHandler and getRequestCycle().scheduleRequestHandlerAfterCurrent which works fine, except that I was expecting my current request to finish as if it were a regular link. In this case, I'd want

Re: Problem with DiskDataStore

2018-04-18 Thread Francois Meillet
you can count all open file handles via lsof | wc -l François > Le 18 avr. 2018 à 17:42, Francois Meillet a > écrit : > > Hi Claudia, > > you need to update the limits in the linux kernel > have a look at > https://serverfault.com/questions/20387/too-many-open-files-on-debian?utm_medium=or

Re: Problem with DiskDataStore

2018-04-18 Thread Francois Meillet
Hi Claudia, you need to update the limits in the linux kernel have a look at https://serverfault.com/questions/20387/too-many-open-files-on-debian?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Problem with DiskDataStore

2018-04-18 Thread Claudia Hirt
Hi all, I get the following error when there are a lot of sessions on the system: [4/18/18 11:49:59:291 CEST] 0080 SystemOut O myapp 18/04/2018 11:49:59,282 ERROR (DiskDataStore.java:434) -/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.wa

Wanted: example for Spring Security with wicket-auth-roles

2018-04-18 Thread Tom Götz
Hi! Does anyone have a working example for an integration of Spring Security and wicket-auth-roles? We currently use Wicket 7.9.0 and Spring Boot 2.x … We’d like to authenticate users via a login form (SignInPanel) and also use a „remember me“ cookie based authentication. Anyone? Cheers,

Re: Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread tomask79
So Option two? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread Martin Grigorov
On Wed, Apr 18, 2018 at 11:53 AM, tomask79 wrote: > Hi Martin, > > "Here it is not very clear what exactly is the change. One has to diff it > agaisnt the original code to see what you have added/removed. " > > I added following: > > clazz = Class.forName(type, false, this.getClass().getClassLoad

Re: Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread tomask79
"I guess the difference is in handling situation when Application.exists() == false " Exactly, as Maxim said. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-u

Re: Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread tomask79
Hi Martin, "Here it is not very clear what exactly is the change. One has to diff it agaisnt the original code to see what you have added/removed. " I added following: clazz = Class.forName(type, false, this.getClass().getClassLoader()); if (clazz == null) { throw Exception... I need to forc

Re: Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread Maxim Solodovnik
I guess the difference is in handling situation when Application.exists() == false On Wed, Apr 18, 2018 at 3:24 PM, Martin Grigorov wrote: > Hi, > > On Wed, Apr 18, 2018 at 11:10 AM, tomask79 > wrote: > > > Hi guys, > > > > this is the continuation of > > > > http://apache-wicket.1842946.n4.na

Re: Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread Martin Grigorov
Hi, On Wed, Apr 18, 2018 at 11:10 AM, tomask79 wrote: > Hi guys, > > this is the continuation of > > http://apache-wicket.1842946.n4.nabble.com/SpringBean- > inside-WebSession-td4680162.html > > We have found the root cause: > > Is somehow possible to replace LazyInitProxyFactory.ProxyReplacemen

Wicket's LazyInitProxyFactory runs incorrectly at WebLogic...

2018-04-18 Thread tomask79
Hi guys, this is the continuation of http://apache-wicket.1842946.n4.nabble.com/SpringBean-inside-WebSession-td4680162.html We have found the root cause: Is somehow possible to replace LazyInitProxyFactory.ProxyReplacement with custom implementation? Why I need that? I need following code twe