I am using FF4J-Web as a maven jar dependency in my Spring Boot application. I am able to run the application in local environment without any issues( embedded tomcat and IBM Liberty Servers). However I am facing some issues in rendering view components when I promote the changes to development environment server(IBM WebSphere 8.5.X) which seems to be due to authorization issue. Please find below responses I got while accessing static contents.

Response Code 200: https://dummyserverlink.com/rootcontext/ff4j-web-console/static/js/jquery.dataTables.min.js

Response Code 500: https://dummyserverlink.com/rootcontext/ff4j-web-console/static/css/bootstrap.min.css

Response Code 500: https://dummyserverlink.com/rootcontext/ff4j-web-console/static/png/ff4j.png

As you can see above, .js files are downloading without any issues. But .css and .img files are not authorized and accessible in the browser(Error Code Status 500). But all resources are present under static folder only. Please note that since I have added FF4J as a maven dependency all the static contents are present inside WEB-INF/lib folder

So if I try to access the .css/.png resource directly from browser, I am getting error ‘Error 500: SESN0008E: A user authenticated as anonymous has attempted to access a session owned by loggedUserName.’

Disabling the security configuration in Websphere is not an option we can go with as the same server is used for multiple applications. Also I am using third party login API for authentication at server level.

Is there any other way that you can share you expertise to bypass the authorization error for static resources(css,img) that are inside the WEBINF folder?

Regards Dinesh

0

There are 0 best solutions below