Hi,

I am using jboss-portal-2.6.2.GA.

I am trying to achieve a problem which I am sure some of you have already 
solved. I am trying to redirect the user after login when he has no access to 
the given portal page. The use case is that some of our users bookmark a page 
that is for password change only. Once user changed the password the access to 
this page is revoked. So, when user tries to login naturally access is denied 
and the default page (403) is displayed.

I added the following lines to the -object.xml:


  | <property>
  |       <name>control.page.access_denied</name>
  |       <value>/WEB-INF/jsp/redirect.jsp</value>
  | </property>
  | 
I also set 'When access to the page is denied' to Redirect to the specified 
resource and 'On error redirect to this resource' to /WEB-INF/jsp/redirect.jsp 
in the the Admin module -> portal -> portal properties.

My problem is that the page still displays the original message: 

HTTP Status 403 -
type Status report
message
description Access to the specified resource () has been forbidden.
JBossWeb/2.0.0.GA

How can I set the page policy to redirect me to my own jsp?

Thanks in advance!

S.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167098#4167098

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167098
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to