Announcement Announcement Module
Collapse
No announcement yet.
where exists the " /j_acegi_security_check" ? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • where exists the " /j_acegi_security_check" ?

    could someone tell me where exists the " /j_acegi_security_check"

    I didn't find it in the example.

    but the example works well.

    I did in my webapp. but it caused can't find the resource error.


    ============================================

    <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>

    <bean id="authenticationProcessingFilterEntryPoint" class="net.sf.acegisecurity.ui.webapp.Authenticati onProcessingFilterEntryPoint">
    <property name="loginFormUrl">
    <value>/acegilogin.jsp</value>
    </property>

    <property name="forceHttps">
    <value>false</value>
    </property>
    </bean>

  • #2
    j_security_check is not a file -- it is simply an agreed upon path that containers (servers) use for doing form based authentication on a webapp.

    http://forum.java.sun.com/thread.jsp...65774&tstart=0

    Comment


    • #3
      I 've found the deferences.

      <form action="<c:url value="/j_acegi_security_check"/>" method="post"> can work

      <form action="/j_acegi_security_check" method="post"> can't work
      <form actionj_acegi_security_check" method="post"> can work

      use tomcat

      Comment

      Working...
      X