Hi Stefan,
Thanks a lot, for proactively taking this up.
I will incorporate this change in the addon
Cheers,
Rohit
Hi Stefan,
Thanks a lot, for proactively taking this up.
I will incorporate this change in the addon
Cheers,
Rohit
Great, is it in the release 1.1.2? What's the timeline for 1.1.2? Thanks.
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
I'm encountering compile errors like this in the new controllers after installing Typicalsecurity
I have this version of the addon installedCode:...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());
after entering:Code:[ 70] [Active ] [ 1] spring-roo-addon-typical-security (0.1.2.BUILD)
I noticed that some files were not foundCode:Typicalsecurity setup --entityPackage ~.server.domain --controllerPackage ~.web
Any suggestions?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 ...
Hey Rohit,
I found your bug
when using a non-default entityPackage path
instead ofCode:--entityPackage ~.server.domain --controllerPackage ~.web
then in UserModel.java (and UserRoleModel.java) the finders don't get annotated in, I getCode:Typicalsecurity setup
instead of the expected:Code:@RooEntity public class UserRoleModel {
Code:@RooEntity(finders = { "findUserRoleModelsByUserEntry" }) public class UserRoleModel {
manually adding "(finders = { "findUserRoleModelsByUserEntry" })" seems to fix it
Mark
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
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
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"
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.