Announcement Announcement Module
Collapse
No announcement yet.
Spring - Login Security Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring - Login Security

    En el archivo spring-security.xml, tengo este error:

    Attachment

    This block of code:

    <http auto-config="true">
    <intercept-url pattern="/welcome*" access="ROLE_USER" />
    <form-login login-page="/login" default-target-url="/welcome"
    authentication-failure-url="/loginfailed" />
    <logout logout-success-url="/logout" />
    </http>

    Can you help me?, Thanks
    Attached Files

  • #2
    In the spring-security.xml file, I have this error:

    Attachment

    This block of code:

    <http auto-config="true">
    <intercept-url pattern="/welcome*" access="ROLE_USER" />
    <form-login login-page="/login" default-target-url="/welcome"
    authentication-failure-url="/loginfailed" />
    <logout logout-success-url="/logout" />
    </http>

    Can you help me?, Thanks
    Attached Files

    Comment


    • #3
      Hey!

      I moved this to the Spring Security group, sounds much more like a question for Spring Security than for the IDE tooling.

      HTH,
      Martin

      Comment


      • #4
        Thanks for moving this to the correct forum Martin.

        It appears there are some dependencies missing (specifically the spring-security-web jar). This error can occur in Eclipse if the project is missing the servlet-api jar (it should be listed as a provided jar). If you are using maven you can find a basic dependency setup on the home page of the site. You can also refer to the sample applications.

        Comment


        • #5
          Thanks for the advice. Problem solved.

          Comment

          Working...
          X