Spring_Security



















































































How to customized default Session time out and other operation when it is timed out




Code link ==>

Spring MVC Using XML Configuration => https://github.com/jpssasadara/hibernateOnetoOneUNI2/tree/master/solution-code-spring-mvc-CRUD-CRM-delete-customer

Spring MVC Using Java Configuration => 1) https://github.com/jpssasadara/SpringMVC_SN/tree/master/MVC%20JAVA_Config_spring-demo-01-base-app
2) http://evisioncsse.blogspot.com/2019/10/springsecurity.html          
TypeNameLatest commit messageCommit time
..
Spring MVC- Java Configurationadd10 minutes ago
solution-code-spring-security-demo-02-basic-securityadd10 minutes ago
solution-code-spring-security-demo-03-custom-login-formadd10 minutes ago
solution-code-spring-security-demo-04-bootstrap-login-formadd10 minutes ago
solution-code-spring-security-demo-05-logoutadd10 minutes ago
solution-code-spring-security-demo-06-csrfadd10 minutes ago
solution-code-spring-security-demo-07-01-user-roles-display-onlyadd10 minutes ago
solution-code-spring-security-demo-07-02-user-roles-display-content-based-on-rolesadd10 minutes ago
solution-code-spring-security-demo-08-jdbc-plaintextadd10 minutes ago
solution-code-spring-security-demo-09-jdbc-bcryptadd10 minutes ago
7. Bonus Lecture Spring Security - User Registration.html
This FAQ includes two questions
1. How to add a user registration form?
2. How to select user roles using drop-down list?
----
Spring Security - User Registration Form with Custom Database Tables
Question:
I want to add registration module into spring security login demo application. How should I do this? I want to access registration page from Login page through hyperlink and after submit data into database.
Answer
I have a document that covers this. It performs user registration with custom user details with Spring Security using Hibernate. Custom user details include: user name, password, first name, last name and email. You can feel free to extend it with additional custom fields. Demo includes Hibernate, database support, encrypted passwords. The code uses Maven, all Java config (no xml) Hibernate configuration
PDF
Source Code
---
Spring Security - Select User Roles using Drop-Down List
Question
In the Spring Security Registration example, what if I don't want to set Role default as Employee? Instead I want to take roles from user through registration page using dropdown list.  Then I want to store role data in role table and user data in user table. How can I achieve this?
Answer
I have a solution that covers this scenario. This includes PDF description and source code.
PDF
Source Code
add10 minutes ago

Comments

Popular posts from this blog

Hibernate (Java) -- by jps sasadara

Observer Design Pattern & RxJava & @Async

JAVA uml Based cording <<< by jps sasadara >>>