Announcement Announcement Module
Collapse
No announcement yet.
How to create an acg secure context inside WEB-INF directory Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to create an acg secure context inside WEB-INF directory

    I've been trying to create an acegi secure context inside my WEB-INF directory, but there, the secure context doesn't work.

    My directory structure is:

    /WEB-INF/jsp/login.jsp
    /WEB-INF/jsp/secure/index.jsp

    And in my web.xml I have:
    <welcome-file-list>
    <welcome-file>WEB-INF/jsp/secure/index.jsp</welcome-file>
    </welcome-file-list>

    And I have configured my security applicationContext.xml in concordance with the information above.

    When I type: http://localhost:8080/war-root, instead of receive the login page I get the page located in the protected area /WEB-INF/jsp/secure/index.jsp. Why?

    PD:Im using the sample application QuickStart in the acegi distribution.

    :?:

  • #2
    Probably related to the issue described here: http://forum.springframework.org/showthread.php?t=11025.

    Maybe try using a welcome.jsp in the root directory, which just contains a <c:redirect>.
    Last edited by robyn; May 14th, 2006, 05:23 PM.

    Comment

    Working...
    X