Re: Send HTTP 401 for unauthenticated user

2013-08-19 Thread Martin Grigorov
You will have to consult with Swarm documentation ... I have no experience with it. For Wicket's default authz see http://wicketguide.comsysto.com/guide/chapter19.html On Mon, Aug 19, 2013 at 11:13 PM, robianmcd wrote: > From where? No code on my REST endpoint page ever gets hit if the user >

Re: Send HTTP 401 for unauthenticated user

2013-08-19 Thread robianmcd
>From where? No code on my REST endpoint page ever gets hit if the user isn't logged in. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Send-HTTP-401-for-unauthenticated-user-tp4660957p4660961.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Send HTTP 401 for unauthenticated user

2013-08-19 Thread Martin Grigorov
throw new org.apache.wicket.request.http.flow.AbortWithHttpErrorCodeException(401, "Not authorized") On Mon, Aug 19, 2013 at 9:32 PM, robianmcd wrote: > Is it possible to send an HTTP 401 response when an unauthenticated user > sends a GET/POST/etc to a specific url. I'm using > wicketstuff-sec

Send HTTP 401 for unauthenticated user

2013-08-19 Thread robianmcd
Is it possible to send an HTTP 401 response when an unauthenticated user sends a GET/POST/etc to a specific url. I'm using wicketstuff-security-swarm and the default behavior is to redirect to the login page. I'm trying to create a REST endpoint from wicket so it doesn't make sense to respond with

Re: Custom TopToolbar

2013-08-19 Thread Tommy Sadiq Hinrichsen
Look at the html file for the datatable Med venlig hilsen / Best regards Tommy Sadiq Hinrichsen Selvstændig IT-udvikler HD-ØP Humlebækgade 16, 1.tv. 2200 København N Tlf: 26 24 14 36 Mangler du en billig anlægsgartner, så prøv http://www.sl-haveanlaeg.dk 2013/8/19 Martijn Dashorst > On 19

Re: Custom TopToolbar

2013-08-19 Thread Martijn Dashorst
On 19 aug. 2013, at 15:34, wrote: Hello, I want to add an own toolbar to my datatable. It works fine but I want another positioning of all toolbars. I use the DefaultDataTable which include a headers toolbar for sorting and the navigationtoolbar. When I add my showAllToobar it will be placed u

Re: Custom TopToolbar

2013-08-19 Thread Sven Meier
DefaultDataTable is a convenience only, just extend DataTable instead. Sven On 08/19/2013 04:09 PM, christoph.ma...@t-systems.com wrote: Hello, I want to add an own toolbar to my datatable. It works fine but I want another positioning of all toolbars. I use the DefaultDataTable which include

Custom TopToolbar

2013-08-19 Thread Christoph.Manig
Hello, I want to add an own toolbar to my datatable. It works fine but I want another positioning of all toolbars. I use the DefaultDataTable which include a headers toolbar for sorting and the navigationtoolbar. When I add my showAllToobar it will be placed under the headers-toolbar. You can s

Re: Wicket security and JavaMelody

2013-08-19 Thread Tommy Sadiq Hinrichsen
I use for authorizing wicket pages, but javaMelody's monitoring page is not a wicket page. Med venlig hilsen / Best regards Tommy Sadiq Hinrichsen Selvstændig IT-udvikler HD-ØP Humlebækgade 16, 1.tv. 2200 København N Tlf: 26 24 14 36 Mangler du en billig anlægsgartner, så prøv http://www.sl-ha

Re: Wicket security and JavaMelody

2013-08-19 Thread Martin Grigorov
Hi, On Mon, Aug 19, 2013 at 1:09 PM, Tommy Sadiq Hinrichsen < tommy.ly...@gmail.com> wrote: > Hi > > I'm using Wicket security for authorization and authentication. > Do you already use it for authorizing other pages ? > > I have included java melody to monitor the tomcat server where the web

Wicket security and JavaMelody

2013-08-19 Thread Tommy Sadiq Hinrichsen
Hi I'm using Wicket security for authorization and authentication. I have included java melody to monitor the tomcat server where the web app is running and i would like to limit access to the monitoring page. Is there some way to do that with wicket security? Med venlig hilsen / Best regards T