2 Replies Latest reply on Mar 14, 2013 4:53 PM by Anton Hughes

    How do I implement authentication??

    Sebastian Börebäck Newbie


      Im noob on Errai. I have before worked with GWT as a frontend developer.


      I want to try to make a todo list where users can share the list but also login and add/remove/edit the list.

      Meaning I get data from a database and then restrict it with authentication.


      How does this work with errai?

      Is there a good example??


      I would love to be able to use the messenger bus. So that the owner of the list updates his list the other users sees it!


      I tried some of the demos:

      mvp - user updates but you need to refreash for other users to see the change.

      grocerylist - add/remove/update worked but couldnt see the changes in the other browsers.

      todolist - same as grocery. I wanted to use this demo to build my app from.

      all bus demos - not working.

      error i get when i try to run them or clean them:


      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

      SLF4J: Defaulting to no-operation (NOP) logger implementation

      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

      [INFO] Scanning for projects...

      [ERROR] The build could not read 1 project -> [Help 1]


      [ERROR]   The project org.jboss.errai:errai-bus-demos-helloworld:2.2.0.Final (F:\programming\packages\errai-2.2.0.Final\bus-examples\helloworld\pom.xml) has 1 error

      [ERROR]     Non-resolvable parent POM: Failure to find org.jboss.errai:errai-bus-demos:pom:2.2.0.Final in https://maven.java.net/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of java-net-public has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 7, column 13 -> [Help 2]


      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.


      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


      im using:

      eclipse juno java ee

      Jboss studios version 6

      maven = 3,0,4

      java 1,70_04

      gwt = 2,5


      I have problems running the messenger bus demos.

      And I would like to have help with authentication?

      tutorial/example or tips