Deploying RAP product target [message #1403581] |
Thu, 24 July 2014 09:48  |
Eclipse User |
|
|
|
Hi,
I have a basic RAP scout app which works perfectly on the local machine under eclipse. I am using DataSourceSecurityFilter and everything is fine.
When I deploy to the live target or any machine other than the eclipse environment the problems start.
The browser displays the login dialog and then I get a blank screen. Looking at the tomcat access log I get a 403 error on all my GETS
192.168.0.17 - - [24/Jul/2014:14:33:46 +0100] "GET /bindersWeb/res/html-styles.css HTTP/1.1" 403 961
192.168.0.17 - - [24/Jul/2014:14:33:46 +0100] "GET /bindersWeb/res/eclipseScoutBackground.png HTTP/1.1" 403 961
192.168.0.17 - - [24/Jul/2014:14:33:46 +0100] "GET /bindersWeb/res/loading.gif HTTP/1.1" 403 961
192.168.0.17 - - [24/Jul/2014:14:33:46 +0100] "GET /bindersWeb/rwt-resources/rap-client.js HTTP/1.1" 403 961
192.168.0.17 - - [24/Jul/2014:14:33:46 +0100] "GET /bindersWeb/rwt-resources/resources.js HTTP/1.1" 403 961
192.168.0.17 - - [24/Jul/2014:14:33:46 +0100] "GET /bindersWeb/rwt-resources/web-resources/ca-16.png HTTP/1.1" 403 961
My RAP plugin has the DataSourceSecurityFilter defined below, is there an alias problem? if so how does it work on the local machine?? I tried changing the /web alias to just / with the same result.
Any ideas????
Regards
/Dominic
</filter>
<filter
aliases="/web"
class="org.eclipse.scout.http.servletfilter.security.DataSourceSecurityFilter"
ranking="40">
<init-param
name="active"
value="true">
</init-param>
[Updated on: Thu, 24 July 2014 10:09] by Moderator
|
|
|
|
|
Re: Deploying RAP product target [message #1695640 is a reply to message #1694948] |
Mon, 18 May 2015 06:18  |
Eclipse User |
|
|
|
not doing basic, or ldap, db or anonymous authentification, I wrote my own auth filter (where HttpServletRequest#getUserPrincipal() & HttpServletRequest#getRemoteUser() returns null wich is normal for my business), so I had to deactivate the HttpAuthJaasFilter in my production config.ini file like this:
org.eclipse.scout.rt.server.commons.servletfilter.helper.HttpAuthJaasFilter#active=false
[Updated on: Mon, 18 May 2015 06:52] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.28535 seconds