title: Login with different roles in Spring Security
body: <p>I am designing a login page (Thymeleaf and Spring security) and want to provide user option to chose his role during login . A user can have admin and/or user role . I am using spring security for authentication purpose. I am stuck at this and could not find a way out. </p>