Results 1 to 2 of 2

Thread: how to write a login form use acegi ? what's wrong with me?

  1. #1

    Default how to write a login form use acegi ? what's wrong with me?

    how to write a login form use acegi ? what's wrong with me?

    the requested resource (/j_acegi_secuity_check) is not available.

    why?


    I copy it from example and paste it in my config document.

    I only found 4 "j_acegi_security_check" in the files;
    web.xml
    applicationContext-acegi-security.xml
    acegilogin.jsp


    ==================================
    <bean id="authenticationProcessingFilter" class="net.sf.acegisecurity.ui.webapp.Authenticati onProcessingFilter">
    <property name="authenticationManager">
    <ref bean="authenticationManager" />
    </property>

    <property name="authenticationFailureUrl">
    <value>/acegilogin.jsp?login_error=1</value>
    </property>

    <property name="defaultTargetUrl">
    <value>/</value>
    </property>

    <property name="filterProcessesUrl">
    <value>/j_acegi_security_check</value>
    </property>
    </bean>
    ========================

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

    Default

    Is your AuthenticationProcessingFilter defined in web.xml? It's a filter that detects the post to j_acegi_security_check and wil process the authentication attempt.

Similar Threads

  1. Replies: 3
    Last Post: Jun 8th, 2010, 03:27 AM
  2. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  3. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  4. acegi + CAS going in loop after login
    By mcecca in forum Security
    Replies: 3
    Last Post: Sep 30th, 2005, 02:56 PM
  5. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM

Posting Permissions

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