Im facing a similar problem.
When an AuthorizationException raises:
Using @Restrict at the class level gives me the default error page.
@Name("sphconsullanEditor")
| @Stateful
| @Restrict
| public class SphConsullanEditorBean implements SphConsullanEditor {
| ...
|
Using @Restrict at the method level, redirection works fine.
@Restrict
| public String create() {
| ...
|
It is just a matter of moving the @Restrict annotation from one place to another, so
clearly everything else is configured correctly. Also, all other redirections on pages.xml
work fine, like login-required, no-conversation, NotLoggedInException, etc.
Thoughts? ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036421#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...