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
Post a Comment