> Hi > > We are implementing user roles. > > Within a user session the roles that apply to them can change during the > session at defined points where they "open" a company file and start > working in the context of a different business. A user may have access > to multiple businesses and their roles may be different in different > businesses. > > Is it possible to get the principal, update the roles, and store the > principal back in the session or wherever it is stored? I am working > with 2.1.17 I don't have a solution for your exact requirements, but you should be able to figure some things out by looking at the Authenticator code at
http://www.caucho.com/download/resin-2.1.17-src.tar.gz Thank, Alex > > So far I seem to be able to get the principal and appear to update it, > but the updates do not stick. What is the trick? When a user logs in > and the principal is initially created where and how is it stored? > > > > Thanks > > > Alan > > -- > > > Alan Wright > Athene Systems > > tel 0845 230 9803 > > > Athene Systems Limited > Registered Office: > Shieling House > Invincible Road > Farnborough > GU14 7QU > > Registered in England and Wales No. 3156080 > > > > _______________________________________________ > resin-interest mailing list > [email protected] > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
