ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How can I use Java spring MVC login in my web page?

user-image
تم إضافة السؤال من قبل Yazan Ahmad , programmer , wysada
تاريخ النشر: 2013/06/18
Bassem Zohdy
من قبل Bassem Zohdy , Java Chief Architect , Crossover

Spring MVC do not have login, may be you will need to use Spring security and by adding filter to your web application as: myFilter org.springframework.web.filter.DelegatingFilterProxy myFilter /* then you can apply spring security check this link http://static.springsource.org/spring-security/site/docs/3.0.x/reference/security-filter-chain.html

مستخدم محذوف‎
من قبل مستخدم محذوف‎

Spring supports integration with many technologies.
So it mainly depends on how you are going to log-in.
If you are going to log-in using LDAP, spring provides integration with it and you can easily configure it.
If you are going to log-in using DB authentication there is a different configuration for it, etc.
You can check the below URLs for different ways of spring security examples.
http://krams915.blogspot.com/2011/01/spring-security-mvc-using-ldap.html http://www.mkyong.com/spring-security/spring-security-form-login-example/ http://kh-yiu.blogspot.com/2012/12/spring-mvc-security-custom.html http://fruzenshtein.com/spring-mvc-security-mysql-hibernate/

المزيد من الأسئلة المماثلة