Home > Back-end > Spring Security in how to create their own login page for different roles
Spring Security in how to create their own login page for different roles
Time:10-01
I want to know, if I have a user and a role ROLE_USER ROLE_ADMIN role of users, I want to create a login page for each, how to implement in the spring security?
CodePudding user response:
You can use the security permissions TAB page, you need to specify the permissions role can access
CodePudding user response:
I am using springboot2.2.5, could you tell me how to get, don't use XML configuration should be and I can demand is exist multiple login page at the same time it
CodePudding user response:
Not before landing is no role, No role, then how do you judge according to the character?
CodePudding user response:
Same as above, in the case of not login: how do you know what is the user role? This does not solve what you can achieve,,