<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
Shane<br>
<br>
On 17/05/11 02:25, Antoine Sabot-Durand wrote:
<blockquote
cite="mid:16F8DF91-2F64-46EA-A9A7-72DA77D4C94D@sabot-durand.net"
type="cite">Hi Team,<br>
<div><br class="webkit-block-placeholder">
</div>
<div>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).</div>
<div>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 <b><font class="Apple-style-span"
face="Courier">@RelatedTo(Service.Twitter) </font></b>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)</div>
<div><br>
</div>
<div>thxs</div>
<div>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-size:
medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;"><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px;">
<div style="word-wrap: break-word;"><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: medium; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;">
<div>
<div>
<div>
<div><br class="Apple-interchange-newline">
Antoine SABOT-DURAND</div>
</div>
</div>
</div>
</div>
</span></div>
</span></div>
</span></span></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
seam-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>