Results 1 to 8 of 8

Thread: Spring roo login with credentials saved in database

  1. #1
    Join Date
    Apr 2012
    Posts
    17

    Default Spring roo login with credentials saved in database

    Hi,

    I created a login page with the command "security setup" . When i used that command , credentials are saved in the "applicationContext-security.xml" file. Is there a way to do the authentication by using credentials saved in separate database table instead of using the xml file to save the username and password???

    Thank you in advance.

  2. #2
    Join Date
    Aug 2011
    Location
    Seville (Spain)
    Posts
    22

    Default

    I'm looking for a full roo script for creating user management entities with their tables.
    Users, Roles, UserRoles, etc.

  3. #3
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default

    Your addon is typicalsecurity,
    It is now under the umbrella of gvNIX project.

    More info at http://code.google.com/p/gvnix/wiki/TypicalSecurity

    Regards !
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

  4. #4
    Join Date
    Aug 2011
    Location
    Seville (Spain)
    Posts
    22

    Default

    Yes, but that addon is old, is not updated, and there are problems with table "user" in postgresql.
    Do you know the domain model of user management in the Zksample2 project with ZX framework? I want something like that.
    http://www.zk-web.de/zksample2/

  5. #5
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default

    Quote Originally Posted by trujillostm View Post
    Yes, but that addon is old, is not updated, and there are problems with table "user" in postgresql.
    Do you know the domain model of user management in the Zksample2 project with ZX framework? I want something like that.
    http://www.zk-web.de/zksample2/
    Typical security addon is designed for Roo 1.1.5.
    The problem with "user" table is postgres is resolved setting another table name like "_user".
    We want upgrade it to last Roo version soon ...

    Regards !
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

  6. #6
    Join Date
    Jun 2008
    Location
    Philadelphia, PA, USA
    Posts
    212

    Default

    Not to plug, but Spring Roo in Action has details on this and LDAP configuration. You can download our examples from GitHub at http://krimple.github.com/spring-roo-in-action-examples and take a look at chapter 8. The book explains this in detail.

    Hopefully those examples get you on your way.

    Best,

    Ken
    Ken Rimple
    Chariot Solutions
    email: krimple@chariotsolutions.com
    work: www.chariotsolutions.com/education
    personal: www.rimple.com

    Author: Spring Roo in Action (Manning)
    MEAP Site: manning.com/rimple

  7. #7
    Join Date
    Aug 2011
    Location
    Seville (Spain)
    Posts
    22

    Default

    ok.
    I'll be waiting for the new verion of the addon...
    Can I participate in the addon? It's of public access?

  8. #8
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default

    Quote Originally Posted by trujillostm View Post
    ok.
    I'll be waiting for the new verion of the addon...
    Can I participate in the addon? It's of public access?
    Source code is public
    You can download it and modify addon to work with new Roo version.
    Currently, on this addon, we are not working on the upgrade.
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •