Announcement Announcement Module
Collapse
No announcement yet.
how to write a login form use acegi ? what's wrong with me? 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 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
    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.

    Comment

    Working...
    X