Re: WebResource and authentication

2008-09-11 Thread Adriano dos Santos Fernandes
) { @Override protected Resource newResource() { return new ReportWebResource(); } }.getSharedResourceKey()); The problem is that when I access /Report it bypass the authentication system, and I don't want this. How can I make WebResource

Re: WebResource and authentication

2008-09-11 Thread Serkan Camurcuoglu
(); } }.getSharedResourceKey()); The problem is that when I access /Report it bypass the authentication system, and I don't want this. How can I make WebResource require authentication? Thanks, Adriano - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: WebResource and authentication

2008-09-11 Thread Adriano dos Santos Fernandes
Serkan Camurcuoglu escreveu: Session javadoc says: *Access via Thread Local *- In the odd case where neither a RequestCycle nor a Component is available, the currently active Session for the calling thread can be retrieved by calling the static method Session.get(). This last form should

WebResource and authentication

2008-09-09 Thread Adriano dos Santos Fernandes
WebResource require authentication? Thanks, Adriano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]