Announcement Announcement Module
Collapse
No announcement yet.
url re-direct to login page issue in spring 2.0.5 Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • url re-direct to login page issue in spring 2.0.5

    when I "copy & paste" a valid url on the url bar, my application DOES NOT take me to login page. Please let me know what is wrong with my config file. Thanks

    my applicationContext-security.xml looks like this:

    <s:http auto-config="true" access-denied-page="/accessDenied.jsp">
    <s:intercept-url pattern="/app/clients/**" filters="none" />
    <s:form-login login-page="/login.jsp" authentication-failure-url="/login.jsp?login_error=1" default-target-url="/index.jsp"/>
    <s:logout logout-success-url="/thankyou.jsp"/>
    <s:concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="true"/>
    </s:http>

  • #2
    If i am reading your config right, it doesnt look like any resource in your application is protected for access..you dont have any access rules defined..you have

    Code:
    <s:intercept-url pattern="/app/clients/**" filters="none" />
    Which means spring security will stay away from any /app/clients/* requests. Am i missing something?

    Comment


    • #3
      Thanks for the tip, I got it. It is working now

      Comment

      Working...
      X