Permissions on Tomcat [message #1308842] |
Tue, 22 April 2014 09:55 |
Chris Thoma Messages: 2 Registered: April 2014 |
Junior Member |
|
|
Hello,
I found a strange behavior when I was deploying my Scout project on a Tomcat server.
After I've got the DataSecurityFilter running (http://www.eclipse.org/forums/index.php/t/490191/), I was able to login on my application.
But the permission wasn't taken. Before I had the same problem on the Jetty Server. I was able to solve it by updating the Scout frame work (https://bugs.eclipse.org/bugs/show_bug.cgi?id=410561).
What I found was, that on Jetty I have 41 Permission loaded. The default permissions and the permission which were created by Scout with the new Forms (Permissions_Count_Jetty.jpg).
These permissions are all located in the package (myapp.shared.ui.desktop.form)
On the Tomcat server 7.0.53 only the default permissions are loaded and not those which are located in the package shared.ui.desktop.form. Only 16 Permissions are loaded
A colleague gave me the hint to create an additional permission class, which Scout now generate in the "shared.security" package. This one is also loaded than in the Tomcat server. (Permissions_Count_Tomcat.jpg)
To get my app running, I will now create some new permission classes and I will adapt my code and role concept to them.
Regards,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.01505 seconds