Page 1 of 1

How to override <sec:port-mapping>

Posted: Tue Feb 19, 2013 6:02 am
by kretoni
Hello,

Currently, I am deploying broadleaf's site to tomcat server. In Tomcat server I configured port number to 8081 and SSL to 8443. Deploying is ok. But at the runtime, when click login or register links , I got 404. So I think, I need to reconfigure the <sec:port-mapping> in broadleaf's site. Is that true. Because, in demosite, there is applicationContext-security-combined.xml in combined. If not, what shall I do?

Thanks

Re: How to override <sec:port-mapping>

Posted: Tue Feb 19, 2013 7:19 am
by gk12
In site/main/wevaoo/WEB-INF/applicationContext-security.xml
add the following in <sec:http> tag

<sec:port-mappings>
<sec:port-mapping http="80" https="443"/>
<sec:port-mapping http="8081" https="8443"/>
</sec:port-mappings>