Results 1 to 5 of 5

Thread: Spring - Login Security

  1. #1
    Join Date
    May 2012
    Posts
    14

    Post Spring - Login Security

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

    error.jpg

    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

  2. #2
    Join Date
    May 2012
    Posts
    14

    Default

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

    error.jpg

    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

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    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
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #4
    Join Date
    Jan 2008
    Posts
    1,834

    Default

    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.
    Rob Winch
    Twitter @rob_winch
    Spring Security Lead
    Spring by Pivotal

  5. #5
    Join Date
    May 2012
    Posts
    14

    Default

    Thanks for the advice. Problem solved.

Posting Permissions

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