Login Multiuser with Java EE -


my friend , creating webapp using java ee (knowing it's our first experience java ee) have different users our webapp , set login in way home page user log in depend on role we're stack here. every appreciated.

i think have issue database design.

user :

id (pk) user_name password user_type_id(fk) .... 

user_type :

id(pk) role 

so, of kind of design, have common login page every user , depend on user_type can redirect dashboard per role.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -