I'm trapping the security in my application using identity as advised in seam.
i add roles from the database to the iddentity using
for all roles
boolean sts=identity.addRole( nextroleTXT)
Identity seems to resonds using false and the roles are not
set (hasRole ,,,, none ....
roles are important for security
i noticed in the code one needs to be logged in to set roles
this seems very odd and jaas unlike
in jaas I set my roles after login
and I do not authorize roles as the password is expired (renew reauired)
Seam handles this differently and splits it logicaly
Is this intentional ?