Deploying RAP product target [message #1403581] |
Thu, 24 July 2014 13:48 |
Dominic Hanlan Messages: 98 Registered: July 2009 |
Member |
|
|
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 14:09] Report message to a moderator
|
|
|
|
|
Re: Deploying RAP product target [message #1695640 is a reply to message #1694948] |
Mon, 18 May 2015 10:18 |
Boy D'Poy Messages: 67 Registered: October 2011 |
Member |
|
|
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
Once You Go Scout, You Never Come Out!
[Updated on: Mon, 18 May 2015 10:52] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02669 seconds