The project looks promising, but I wasn't able to get acris-security to work

I include acris-security-core 1.1.1-SNAPSHOT as a maven dependency the way they explain on their wiki (no exactly the same because acris-security doesn-t exist, I had to use acris-security-core) but when I add the following module inherit:

<inherits name='sk.seges.acris.Security'/>


The application breaks at the EntryPoint with these warnings and then errors: Unknown type 'sk.seges.acris.security.client.IRuntimeSecuredObject' specified in deferred binding rule Unknown type 'sk.seges.acris.security.client.ISecuredObject' specified in deferred binding rule...

The app uses the MVP methodology from Chris Ramsdale (Large scale application development and MVP) with GWT 2.2 and no app-engine The line that produces the error is where the remote service proxy is created:

        JmServiceAsync jmService = GWT.create(JmService.class);

Here is the simple pom.xml that I have:

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>test</groupId>
  <artifactId>test</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <dependencies>
        <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-user</artifactId>
                <version>2.2.0</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-dev</artifactId>
                <version>2.2.0</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>sk.seges.acris</groupId>
                <artifactId>acris-security-core</artifactId>
                <version>1.1.1-SNAPSHOT</version>
                <type>jar</type>
                <scope>compile</scope>
                <exclusions>
                        <exclusion>
                                <artifactId>gwt-servlet</artifactId>
                                <groupId>com.google.gwt</groupId>
                        </exclusion>
                </exclusions>
        </dependency>
  </dependencies>
</project>

Could anyone give me some advice on this? I;ve struggled to much time this weekend with this :-)

Thanks in advance

On 03/01/2011 10:42 PM, André Salvati wrote:

What do you think about this one?

http://code.google.com/p/acris/wiki/Security


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to