Announcement Announcement Module
No announcement yet.
security and presentation Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • security and presentation

    hi all...

    i ran the command 'install security' using ROO. seems like it just adds the servlet to the web.xml. Is that true (or does it do more)?

    it also looks like the 'install security' command is removed after running it once (can someone verifty)...that's a great feature.


  • #2
    It does a few things, but mostly file system related: adding to pom.xml, creating login.jsp, adding the applicationContext-security.xml etc. We will likely enhance it in the future to offer more elaborate configuration choices.

    I can confirm the command is automatically hidden after you run it. This is the "command hiding" feature of the shell. A similar thing happens after you create a project or install JPA, as there's no reason you should do those things more than once. The intent is to only list commands the user should be able to type. It also means there are fewer options the shell parser needs to differentiate between when it is attempting to resolve abbreviated commands. All of these things aim to improve usability.