<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 31/07/12 04:40, Bruno Oliveira
      wrote:<br>
    </div>
    <blockquote
      cite="mid:259378D8DB2F4E6AA2D5FAFDF1C4254F@abstractj.org"
      type="cite">
      <div>Hi, some few open questions inline.</div>
      <p style="color: #A0A0A8;">On Friday, July 27, 2012 at 1:35 PM,
        Pete Muir wrote:</p>
      <blockquote type="cite"
style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span>
          <div>
            <div>
              <div><br>
              </div>
              <div>Authentication</div>
              <div>-------------------</div>
            </div>
          </div>
        </span></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?&nbsp;&nbsp;</div>
      <blockquote type="cite"
style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span>
          <div>
            <div>
              <div><a moz-do-not-send="true"
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>
          </div>
        </span></blockquote>
      <div>How do they fit together?&nbsp;</div>
      <div><br>
      </div>
      <div>-&gt;
<a class="moz-txt-link-freetext" 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 class="moz-txt-link-freetext" 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>
      <blockquote type="cite"
style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span>
          <div>
            <div>
              <div><br>
              </div>
              <div><a moz-do-not-send="true"
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 moz-do-not-send="true"
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>
          </div>
        </span></blockquote>
      <div>Why not make use of same entity model from PicketLink IDM?
        <a class="moz-txt-link-freetext" 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>
        <div>How do I extend the User class to include a token and the
          email attribute?</div>
      </div>
    </blockquote>
    <br>
    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.<br>
    <br>
    Shane<br>
    <br>
    <blockquote
      cite="mid:259378D8DB2F4E6AA2D5FAFDF1C4254F@abstractj.org"
      type="cite">
      <div>
        <div><br>
        </div>
        <div>- Bruno</div>
        <div><br>
        </div>
      </div>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
security-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:security-dev@lists.jboss.org">security-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/security-dev">https://lists.jboss.org/mailman/listinfo/security-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>