Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

Sergey Kolesnikov

Greenhorn
+ Follow
since Oct 03, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sergey Kolesnikov

My name is Sergey and I am looking for a part-time job for about 20 - 30 hours per week remotely.
Presently located in Russia, and Resume is available at CV.
Can be contacted via private messages or email in the CV.
I have experience with
Spring Framework(Security, MVC, Data, JDBC),
Hibernate,
Oracle,
PL/SQL,
PostgreSQL,
Rest Web Services,
XML(XSD, XPATH) / JSON,
Maven, Git, Svn, Jenkins,
Angular 2+
JMS (Active MQ)
3 months ago
you can download the following working project and try it out in action. Then compare with your own implementation and find missing elements. This is java's way.
8 months ago
You forgot to allow spring recognize login page. You can specify it by using the following config in xml
<http use-expressions="true">
   <intercept-url pattern="/login*" access="isAnonymous()" />
   <intercept-url pattern="/**" access="isAuthenticated()"/>

   <form-login login-page='/login.html'
     default-target-url="/homepage.html"
     authentication-failure-url="/login.html?error=true" />
   <logout logout-success-url="/login.html" />
</http>
somethin like that.
And the end point will be localhost:8080/login.html
But I prefer to use the JavaConfig way. Try it too, may be it will be more easier.
Additional information you can find in the following link
Spring Security Login page explanation
8 months ago