facebook

Scaffolding Spring Security and Enabling Security in DSL

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #316988 Reply

    Peter
    Member

    Hi,

    I have enabled DSL in a new project and scoffolded from a database (JSF/Primefaces), i then scaffolded spring security and all works fine. (used tutorials)

    Now the problem is when i clean build the app the security config in web.xml is removed and i have to go to Spring DSL >> Enterprise Configuration and then unchkech and recheck the Enable Security checkbox then save. This adds the spring config to web.xml but it is getting really annoying have to do that over and over. Please help.

    #317042 Reply

    jayperkins
    Member

    Hi Peter,

    Unfortunately, this is a bug that occurs when the dsl is enabled, security is enabled and you do a clean build. As a workaround, you can do the clean build twice – the first time the security will be removed, the second time it will be put back. As an alternative, if you are not doing things that will add to the web.xml, you could mark it as read only and it should retain your changes.

    There is a bug in our web.xml merger.

    I am entering a JIRA and we will have a fix in the next release which will be out in the next month or so.

    Let me know if the workarounds don’t work for you.

    Thanks,

    Jay

    #317046 Reply

    Peter
    Member

    Hi Jay,

    Thanks mate, thats no problem ill just live with it till the update. Thanks for the speedy reply! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Scaffolding Spring Security and Enabling Security in DSL

You must be logged in to post in the forum log in