Results 1 to 2 of 2

Thread: security and presentation

  1. #1
    Join Date
    Mar 2007
    Posts
    113

    Default 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.

    thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •