Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: PoC for Roo Security Addon - User Registration, Forgot Password, Change Password, DB

  1. #1
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Smile PoC for Roo Security Addon - User Registration, Forgot Password, Change Password, DB

    Hi All,
    I created a Spring Roo Addon which injects security into existing Spring Roo Project. Currently this is in very early stage, you need to see the video to understand how to inject the addon and how to use the application after addon is inject.

    Again, disclaimer this email is to only share my concept of Typical Security system required by Roo based web applications. (this leans towards passive code generation)

    TypicalSecurity is a Spring Roo add on which injects following features in a Spring Roo App with single command
    1. Databased User Role Security
    2. Forgot Password
    3. Change Password
    4. User Registration with recaptcha and sending activation email
    5. User Activation

    Please note the project is far from stable, the default path works for now

    http://code.google.com/p/spring-roo-...ical-security/
    http://code.google.com/p/spring-roo-...GettingStarted

    The YouTube Video for the same is here - http://www.youtube.com/my_videos_tim...id=Y-kuYj8vsYU


    Cheers,
    Rohit

  2. #2
    Join Date
    Nov 2010
    Location
    Oklahoma City, OK, USA
    Posts
    18

    Default

    I tried the you tube link above, but it asked for login to you tube.

    After visiting your google code project site, the link to the video work.

    http://www.youtube.com/watch?v=Y-kuYj8vsYU

    Good job on the Addon! How long did it take you?

  3. #3
    Join Date
    Jun 2010
    Posts
    440

    Default

    Hi Rohit,

    I tried the add-on...
    It works like a charm. Congrats!


    jD

  4. #4
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    190

    Default

    very cool, thanks Rohit

    The link for video is http://www.youtube.com/watch?v=Y-kuYj8vsYU&feature=404
    Shahzada Hatim
    @geoaxis/twitter
    http://hatimonline.com

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

    Default

    Awesome - are you submitting it as a Roo official add-on to the Roobot?

    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

  6. #6
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Default

    Quote Originally Posted by drinks.sobe View Post
    I tried the you tube link above, but it asked for login to you tube.

    After visiting your google code project site, the link to the video work.

    http://www.youtube.com/watch?v=Y-kuYj8vsYU

    Good job on the Addon! How long did it take you?
    It look me around a week to understand the framework, but to code it, it was only a weekend.

  7. #7
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Default

    Quote Originally Posted by krimple View Post
    Awesome - are you submitting it as a Roo official add-on to the Roobot?

    Ken
    Hi Krimple,
    Yes that is a plan, but I can't promise a timeline for the same. I will keep you posted

    Cheers,
    Rohit

  8. #8
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default Hurdles?

    What were the main hurdles while developing this add-on?

    I'll check it out! A very nice initiative. Thank you!

  9. #9
    Join Date
    May 2010
    Posts
    11

    Default

    Good job! I have dreamed of smth similar to this ever since i first tried out "security setup" command.

    I haven't jet had the time to try it out, but I have a comments regarding command that your addon provides.

    1) Is there a good reason why "Typicalsecurity setup" command is not in lowercase as every other roo command I have seen so far?

    2) Wouldn't it would be good idea to make this "typicalsecurity" command fragment available after user has typed security?
    Analogically to default "security setup" i would suggest smth similar to following:
    "security typical setup"
    I guess then it would more intuitive for roo users - after telling/typing into roo shell "security" roo can suggest(after hitting TAB key or in STS Ctrl+Space) users which flavour of security should be set up.
    I guess you only need to change 1 line in TypicalsecurityCommands.java:
    @CliCommand(value = "security typical setup", help = "Setup Typicalsecurity addon")

    Maybe help text should also reveal what this plugin does - for example that user management is DB-based "Setup DB-based Typicalsecurity addon that ..."

    Anyway, what ever you decide based on my comments I hope that this plugin finally "lands" next to current roo default addons that come with the release

    BR,
    Ats.

  10. #10
    Join Date
    Nov 2010
    Location
    2k/10, Aditya Garden City, Warje, Pune-411052, India
    Posts
    22

    Default

    I have More or less the same things planned "What you stated here".

    Here is a short roadmap
    1. Break up TypicalSecurity into following commands to something of following
    - Typicalsecurity setup --type database
    This adds database based AuthenticationProvider
    - Typicalsecurity add forgotpassword
    - Typicalsecurity add changepassword
    - Typicalsecurity add userregistration --useCaptcha true

    and in future
    - Typicalsecurity thirdpartylogin google
    - Typicalsecurity thirdpartylogin facebook


    2. About the name, my first release is a PoC, I need to find time to get it to production taking care of many things along with the name and following
    - Activation Email must use the context path of the application
    - User Registration must take user to a "Registration successful Page" before taking to Login screen
    - Enable encrypted passwords
    - Put Proper Error messages for failure pages
    - Support i18n for all generated pages

    So lots of do, I will keep you guys posted. Any more suggestions on functionality is more than welcome

    Cheers,
    Rohit

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
  •