I've done some reading on Seam security and it doesn't seem to have a particular feature I need. I want to create one or more profiles for users which contain roles and groups. When the user logs in, if they have more than one profile they must choose which to use for the session. Some users have two job functions and on some days they need to use the system one way (the boss/manager), and on other days they need to use it differently (regular user).
Do you think I will need to create my own IdentityStore? I want to use database tables, LDAP, active directory or SSO for user authentication, but always use my own database/programming for authorization.