greeting all.
i need to do something when usre requested loginpage and i implement custom filter and
dont use than <http auto-config="true">
i think i must be do somethings like as below :
in my security xml file and implementing LoginUrlAuthenticationEntryPoint like as this:Code:<http entry-point-ref="authenticationEntryPoint" use-expressions="true" > <custom-filter position="FORM_LOGIN_FILTER" ref="myLoginFilter"/> <intercept-url pattern="/loginp.jsp" access="permitAll"/> <intercept-url pattern="/login/failure.html" access="isAnonymous()"/> <intercept-url pattern="/**" access="hasRole('ROLE_USER')"/> </http> <beans:bean id="authenticationEntryPoint" class="authenticate.CheckUserAtEntryPoint"> <beans:property name="loginFormUrl" value="/loginp.jsp"/> </beans:bean>
is this correct way?Code:public class CheckUserAtEntryPoint extends LoginUrlAuthenticationEntryPoint {


Reply With Quote