5 Replies Latest reply on May 30, 2007 9:29 AM by Carlos Abreu

    Seam authentication module problem

    Carlos Abreu Newbie

      Hy i´m facing some problems when i try to set my Authentication module.

      1) I can´t execute the autentication method without setting the parameters value, like folows:

      public boolean authenticate(String username, String password, Set<String> roles)
      


      2) The Identity Class from the Seam Framework is returning null when i try to obtain the user password

      Identity.instance().getPassword()
      


      3) The Identity Class from the Seam Framework doesn´t have the addRole method:

      Identity.instance().addRole(user.getUserRole().getRoleDesc());
      


      I am reading the seam tutorial about security modules(http://docs.jboss.com/seam/latest/reference/en/html/security.html#d0e6331).

      Can anyone know what is happening ?

      Thanks in advance