<div>
                    +100000
                </div><div><br></div><div>I saw that&nbsp;https://github.com/apache/incubator-deltaspike/commit/79b067158335d743b28fcefa80b91c10ec6bce2a</div>
                <div><div><br></div><div><br></div><div>-- Bruno</div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Tuesday, July 31, 2012 at 10:54 AM, Pete Muir wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><br></div><div>On 30 Jul 2012, at 23:15, Shane Bryzak wrote:</div><div><br></div><blockquote type="cite"><div><div>On 31/07/12 04:40, Bruno Oliveira wrote:</div><blockquote type="cite"><div><div>Hi, some few open questions inline.</div><div>On Friday, July 27, 2012 at 1:35 PM, Pete Muir wrote:</div><div><br></div><blockquote type="cite"><div><div><br></div><div>Authentication</div><div>-------------------</div></div></blockquote><div>Which IDM domain model should I use, picketlink idm or DeltaSpike? I might be wrong, but probably those entities belongs to the IDM?  </div></div></blockquote></div></blockquote><div><br></div><div>As Shane said, DS IDM is no more.</div><div><br></div><blockquote type="cite"><blockquote type="cite"><div><blockquote type="cite"><div><div><a href="https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Identity.java">https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/Identity.java</a></div><div><br></div><div>This contains methods to log in, log out, get the current user, and check if a user is logged in or not. In order to log in/log out, a LoginCredential is provided:</div></div></blockquote><div>How do they fit together? </div><div><br></div><div>-&gt; <a href="https://github.com/picketlink/picketlink-idm/blob/master/picketlink-idm-api/src/main/java/org/picketlink/idm/api/Credential.java">https://github.com/picketlink/picketlink-idm/blob/master/picketlink-idm-api/src/main/java/org/picketlink/idm/api/Credential.java</a></div><div><br></div><div>-&gt; <a href="https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/credential/Credential.java">https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/credential/Credential.java</a></div></div></blockquote></blockquote><div><br></div><div><br></div><blockquote type="cite"><div><blockquote type="cite"><div><blockquote type="cite"><div><div><br></div><div><a href="https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/credential/LoginCredential.java">https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/credential/LoginCredential.java</a></div><div><br></div><div>We also have a very basic representation of a user, which contains some unique identifier for the user:</div><div><br></div><div><a href="https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/User.java">https://github.com/apache/incubator-deltaspike/blob/5e4a7eb4de01004206f24ae22b9850e643bffe54/deltaspike/modules/security/api/src/main/java/org/apache/deltaspike/security/api/User.java</a></div><div><br></div><div>This isn't useful on it's own of course, but would plug into whatever IDM solution you happen to use. In our case PicketLink IDM.</div></div></blockquote><div>Why not make use of same entity model from PicketLink IDM? <a href="https://github.com/picketlink/picketlink-idm/blob/master/picketlink-idm-api/src/main/java/org/picketlink/idm/api/User.java">https://github.com/picketlink/picketlink-idm/blob/master/picketlink-idm-api/src/main/java/org/picketlink/idm/api/User.java</a>. Or create some level of abstraction like that.</div><div><br></div><div>How do I extend the User class to include a token and the email attribute?</div></div></blockquote><div><br></div><div>All of this has been removed from DeltaSpike for now, and while the plan is to eventually add a simple authentication API (I'm not sure why we couldn't just use the one we already had) I don't think we can depend on this for now, so I'll be re-implementing all of it again in the PicketLink CDI module.</div></div></blockquote><div><br></div><div>We should try to use the DS stuff if possible. Once 0.3 is out, let's push to get this added into DS.</div><div><br></div><div>If not, we do it in Picket, I agree.</div><div><br></div><blockquote type="cite"><div><br></div><div>Shane</div><div><br></div><blockquote type="cite"><div><br></div><div>- Bruno</div><div><br></div></blockquote></blockquote></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>