Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

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

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

    Default

    Hi Stefan,
    Thanks a lot, for proactively taking this up .

    I will incorporate this change in the addon

    Cheers,
    Rohit

  2. #22
    Join Date
    May 2010
    Posts
    8

    Default

    Great, is it in the release 1.1.2? What's the timeline for 1.1.2? Thanks.

  3. #23
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    Yes this will be in 1.1.2 which should be out in ~3 weeks (ballpark).
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  4. #24
    Join Date
    Oct 2010
    Location
    Almere, The Netherlands
    Posts
    32

    Default

    Quote Originally Posted by rohitghatol View Post
    Any more suggestions on functionality is more than welcome
    OpenID and OAuth support.

  5. #25
    Join Date
    Mar 2008
    Location
    Portland OR
    Posts
    44

    Default

    I'm encountering compile errors like this in the new controllers after installing Typicalsecurity

    Code:
    ...web/ForgotPasswordController.java:50:0::0 The method findUserModelsByEmailAddress(String) is undefined for the type UserModel
    error at TypedQuery<UserModel> query = UserModel.findUserModelsByActivationKeyAndEmailAddress(activationKey, emailAddress);
    
    SignUpController.java:54:0::0 The method findUserModelsByActivationKeyAndEmailAddress(String, String) is undefined for the type UserModel
    error at .findUserModelsByEmailAddress(userDetails.getUsername());
    I have this version of the addon installed

    Code:
    [  70] [Active     ] [    1] spring-roo-addon-typical-security (0.1.2.BUILD)
    after entering:
    Code:
    Typicalsecurity setup --entityPackage ~.server.domain --controllerPackage ~.web
    I noticed that some files were not found

    Code:
    ...
    Managed SRC_MAIN_JAVA/com/xxxxx/client/managed/ui/UserRoleModelSetEditor.java
    Managed SRC_MAIN_JAVA/com/xxxxx/client/managed/ui/UserRoleModelListEditor.java
    Managed SRC_MAIN_JAVA/com/xxxxx/client/managed/request/UserRoleModelProxy.java
    Cannot locate source for 'com.xxxxx.model.UserModel'
    Cannot locate source for 'com.xxxxx.model.UserRoleModel'
    Created SRC_MAIN_JAVA/com/xxxxx/WebUserModelController.java
    Created SRC_MAIN_JAVA/com/xxxxx/WebUserModelController_Roo_Controller.aj
    Created SRC_MAIN_WEBAPP/WEB-INF/views/usermodels
    ...
    Any suggestions?

  6. #26
    Join Date
    Mar 2008
    Location
    Portland OR
    Posts
    44

    Default

    Hey Rohit,

    I found your bug

    when using a non-default entityPackage path
    Code:
    --entityPackage ~.server.domain --controllerPackage ~.web
    instead of
    Code:
    Typicalsecurity setup
    then in UserModel.java (and UserRoleModel.java) the finders don't get annotated in, I get
    Code:
    @RooEntity
    public class UserRoleModel {
    instead of the expected:
    Code:
    @RooEntity(finders = { "findUserRoleModelsByUserEntry" })
    public class UserRoleModel {

    manually adding "(finders = { "findUserRoleModelsByUserEntry" })" seems to fix it

    Mark

  7. #27
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    Rohit, if you want to announce your add-on in a more central location - I just created a sticky thread to do this: http://forum.springsource.org/showthread.php?t=101800

    Maybe it makes sense to release the add-on through RooBot. If you mark it as SNAPSHOT or M1 (milestone) release that would also give potential users an indication about the stability of your add-on. This way you can reach more users (and therefore solicit more feedback) while letting users know that your add-on is still in its early stages.

    -Stefan
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  8. #28

    Default Add on

    Hello first of all really nice addon it brings some very interesting features and help to make a complete project .
    Just wanna try this add on but till now is it very stable as i will use it for a project and needs some advice before using it .Is it possible to integrate it with other entities and forms . (i am new to roo )
    Thanks a lot

  9. #29
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Thumbs up Nice work

    Just thought I would mention that there's an existing JIRA ticket (ROO-532) about enhancing the core security addon. I'm sure Rohit's addon and the responses in this thread will give us some good information about what to implement when we do this.
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  10. #30

    Default

    Thanks to the OP for their work on this. It sounds great. Has there been an official release of this? January is a long time ago with no news. I don't want to try the six month old version if there is a newer one.

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
  •