Hello,
I am using SmartGWT Power:
(SC_SNAPSHOT-2011-05-31/PowerEdition Deployment 2011-05-31)
... and am experiencing a problem.
My app has one 'page' with public data, a list of Courses (building a course enrollment system). This page is to show students what courses are there.
The rest of the course management system is secured by Spring Security 3. To allow this public page 'through' I created the following operationbinding:
As you can see, it has a different dataURL, pointing to my public version of the IDACall servlet. This is the default IDACall from smartGWT. For secure stuff I use my own extended version of IDACall, this whole SecureIDACall.java is secured by Spring Security, as an extra security measure.
The servlet is called, and the query works, but I get this error:
Why is this error showing? I know there is no authenticated user, and specified the operationBinding to be public, but what am I missing?
I am using SmartGWT Power:
(SC_SNAPSHOT-2011-05-31/PowerEdition Deployment 2011-05-31)
... and am experiencing a problem.
My app has one 'page' with public data, a list of Courses (building a course enrollment system). This page is to show students what courses are there.
The rest of the course management system is secured by Spring Security 3. To allow this public page 'through' I created the following operationbinding:
Code:
<DataSource ID="CourseEdition" serverType="sql" tableName="CourseEdition"> ... <operationBindings> <operationBinding operationType="fetch" operationId="managersCourseFetchPublic" dataURL="/generatedcode/sc/PublicIDACall"> ... </operationBinding> ... </operationBindings>
The servlet is called, and the query works, but I get this error:
Code:
java.lang.SecurityException: DataSource 'CourseEdition', operationType 'fetch', operationId 'managersCourseFetchPublic'. No authenticated user at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1534) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73) ...
Comment