0

how i can use URIInterceptorListener?

asked 2010-04-13 01:21:41 +0800

smigol gravatar image smigol flag of Italy
316 2

hi,
can someone suggest how to use URIInterceptorListener!

@Override
public void request(String uri) throws Exception {
		
}

I would check the uri, if user has the authority to access the certain URI, and possibly redirect or move to other uri!
This is possible in URIInterceptorListener.request? How?
Can anyone suggest an example?

Regards

ORAZIO

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-04-14 15:28:09 +0800

smigol gravatar image smigol flag of Italy
316 2

could anyone help me with this issue?
regards

Orazio

link publish delete flag offensive edit

answered 2010-04-18 22:52:26 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

In your implementation, you have to throw a particular exception and then use <error-page> to specify which page to redirect to.

link publish delete flag offensive edit

answered 2010-04-20 10:39:21 +0800

smigol gravatar image smigol flag of Italy
316 2

thanks Jumper

regards

Orazio

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-04-13 01:21:41 +0800

Seen: 270 times

Last updated: Apr 20 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More