Is this something we should look at doing inside Seam Security? (i.e.
managing multiple account details for a single user). I know we
definitely need to do something along similar lines for OpenID accounts,
similar to how SourceForge allows you to associate an OpenID account
with your local login.
Shane
On 17/05/11 02:25, Antoine Sabot-Durand wrote:
Hi Team,
After some pain, suffering and knots in my brain, I found a clean
answer to my multi-account issue (thanks to dependent scope, @Any
qualifier and Instance<> class).
I created a qualifier to distinguish different services beans in a
polymorphic context. The purpose of this qualifier is only to bind
some beans (settings, controller) to a given social service. To be as
generic as possible it takes a binding (in opposition to @Nonbinding)
parameter which is an enum related to service name. So
*(a)RelatedTo(Service.Twitter) *qualifies a bean in relation to Twitter.
I'm not very happy with this name "RelatedTo" but didn't found
something short and eloquent (I avoided @InRelationTo :-) ).
Suggestion and commentaries are welcome. (the source is in
multi_account feature branch)
thxs
Antoine SABOT-DURAND
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev