Role-based Login
Novell Cool Solutions: Question & Answer
Reader Rating 
Q:
FA wrote: We need a login page where the user has to provide his username and password and a role (author, admin, user). Can we have the servlet verify the user really has the role that he elects in the login page? If the role is one of his roles the login to the application will be done. Users can have different roles at the same time.
A:
Store the role information in the directory, then pass it back to the application. This way you don't have to do a custom login screen and you can maintain the role info in eDirectory.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com