[JBoss Portal] - Re: Securing Portal Page - please help!
by nitesh
If you read my original posting, you'll see that I've already quoted the Jboss Portal Security documentation link. The problem is not that I cannot create a portal page or I cannot assign security constraints. The problem is that the assigned security constraints do not work as expected. I want to force a login before my portal page can be accessed.
You've made reference to changing the access permission of the 'default' portal, which is the parent portal of my page. However, nowhere is it documented how the 'default' portal is configured. Is it configured in [JBoss_Home]\server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF? In that file, there is reference to PortalServletWithPathMapping servlet. Does the security constraints of this servlet need to be changed?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072705#4072705
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072705
18Â years, 10Â months
[JBoss Messaging] - you may wish to fix the build.xml file for examples/http
by geeky2
hello tim,
you may wish to fix the build.xml file for the /examples/http
the current build.xml has:
| <target name="deploy">
| <copy file="../../../src/etc/remoting/remoting-http-service.xml"
| todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
| <copy file="./etc/messaging-http-service.xml"
| todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
| <antcall target="sleep"><param name="sleep.interval" value="10"/></antcall>
| </target>
|
but i believe it may need to be:
| <target name="deploy">
| <copy file="../../src/etc/remoting/remoting-http-service.xml"
| todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
| <copy file="./etc/messaging-http-service.xml"
| todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
| <antcall target="sleep"><param name="sleep.interval" value="10"/></antcall>
| </target>
|
notice that the first copy file has one too many ../
this is assuming the following:
| mark@gecko1:~/jbm/src> find
| .
| ./etc
| ./etc/remoting
| ./etc/remoting/remoting-http-service.xml
| ./etc/remoting/remoting-bisocket-service.xml
| ./etc/remoting/remoting-sslbisocket-service.xml
|
and the JBM distro examples are installed at:
| $JBM/examples/http/
|
thx
mark
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072698#4072698
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072698
18Â years, 10Â months