May 17th, 2009, 07:13 PM
security and presentation
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.
May 17th, 2009, 08:16 PM
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.