Hi all
The problem is that i get redirected back to login page after login and there are no error displayed...please help
applicationContext
Thank you...Code:<security:http auto-config="true" access-denied-page="/loginError.htm" > <!-- ==== Don't set any role restrictions on login.jsp ====--> <security:intercept-url pattern="/loginPage.htm*" access="IS_AUTHENTICATED_ANONYMOUSLY" /> <security:form-login login-page="/loginPage.htm?method=login" /> <security:form-login login-processing-url="/j_spring_security_check" /> <security:form-login default-target-url="/employee.htm?method=loadEmployee"/> <security:form-login authentication-failure-url="loginPage.htm?login_error=1" /> <security:intercept-url pattern="/**.htm" access="ROLE_USER" /> <security:logout logout-success-url="/loginPage.htm" /> </security:http> <security:authentication-provider user-service-ref="userDetailService" /> <bean id="userDetailService" class="org.springframework.security.userdetails.jdbc.JdbcDaoImpl" > <property name="dataSource" ref="dataSource" /> <property name="rolePrefix" value="ROLE_" /> <property name="usersByUsernameQuery" value="SELECT User_Name,Authority from Employee WHERE User_Name=?" /> </bean>


