[JBoss Portal] - Page policy redirect policy not working
by HerQpapa
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
17 years, 8 months
[JBossWS] - Re: Looking to pass complex types in web service...
by PeterJ
So see the SOAP messages on the server, edit the server/xxx/conf/jboss-log4j.xml file, uncommenting the org.jboss.ws.core.MessageTrace category. To see them on the client provide a log4j config file that enables the same category.
Also, have you tried removing the "byte[] photo" field? I am guessing that it might be the cause. If it works without that, we will at least know where to focus our effort.
I was about to say "Please post your mapping.xml file.", but decided to check the options before I did so to make sure that it was not a file that was being generated. But there is no such thing as wscompile in JBoss Web Services. There is a wsconsume, wsprovide, and wsrunclient (and a wstools, but it is for the old-style web services). And based in the command line, it appears that wscompile is part of Sun's web service's implementation. You really need to sue the JBoss Web Service tools.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167088#4167088
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167088
17 years, 8 months