<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 01/15/2013 01:35 AM, Matthias
      Wessendorf wrote:<br>
    </div>
    <blockquote
cite="mid:CAAg5f2Sce5PPfBoRaOT_HofK796in1RzHzYW3pxp9biBZjRXbQ@mail.gmail.com"
      type="cite">It was brought while discussing the "old" thread.
      <div><br>
      </div>
      <div>1) keep the clients to use "auth/enroll"</div>
      <div>2) change the _library_ (ag-security) to follow the same
        pattern</div>
      <div>3) keep the TODO (auth/register) and show that the clients
        can override the default (shows the flexible API)</div>
      <div><br>
      </div>
      <div>If we are all OK with this, I will file a JIRA for the
        ag-security change and will move on with it.</div>
      <div><br>
      </div>
    </blockquote>
    +1<br>
    <blockquote
cite="mid:CAAg5f2Sce5PPfBoRaOT_HofK796in1RzHzYW3pxp9biBZjRXbQ@mail.gmail.com"
      type="cite">
      <div>-M</div>
      <div><br>
        <br>
        <div class="gmail_quote">On Tue, Jan 15, 2013 at 7:21 AM, Daniel
          Bevenius <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div class="im">&gt;<span
                  style="font-family:arial,sans-serif;font-size:13px">So
                  if a user wants to use our server-side bits, he always
                  has to override for the registration - which is weird,
                  IMO</span></div>
              <div><font face="arial, sans-serif">Yeah, that is true.
                  And also we could simply provide examples in a user
                  guide, so my point in the first post is not really
                  valid.&nbsp;</font></div>
              <div><font face="arial, sans-serif">I'm changing my mind
                  to +1 :)</font></div>
              <div><font face="arial, sans-serif"><br>
                </font></div>
              <div><font face="arial, sans-serif"><br>
                </font>
                <div><span
                    style="font-family:arial,sans-serif;font-size:13px"><br>
                  </span></div>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On 15 January 2013 07:15,
                    Matthias Wessendorf <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">but
                      aren't two different defaults an odd API ?
                      <div><br>
                      </div>
                      <div>So if a user wants to use our server-side
                        bits, he always has to override for the
                        registration - which is weird, IMO</div>
                      <span><font color="#888888">
                          <div><br>
                          </div>
                        </font></span>
                      <div><span><font color="#888888">-M</font></span>
                        <div>
                          <div><br>
                            <div>
                              <br>
                              <div class="gmail_quote">On Tue, Jan 15,
                                2013 at 6:57 AM, Daniel Bevenius <span
                                  dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:daniel.bevenius@gmail.com"
                                    target="_blank">daniel.bevenius@gmail.com</a>&gt;</span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div dir="ltr">
                                    <div>&gt;<span
                                        style="font-family:arial,sans-serif;font-size:13px">is
                                        your -1 only for the TODO demo
                                        app, or also for the ag-security
                                        library?</span></div>
                                    <div><span
                                        style="font-family:arial,sans-serif">I
                                        think we could keep</span><span
style="font-family:arial,sans-serif;font-size:13px">&nbsp;the server side in
                                        the both the TODO app and
                                        ag-security as is, and have
                                        overrides in the client examples
                                        which might be useful for users
                                        to see examples of.&nbsp;</span></div>
                                  </div>
                                  <div>
                                    <div>
                                      <div class="gmail_extra"><br>
                                        <br>
                                        <div class="gmail_quote">On 15
                                          January 2013 06:45, Matthias
                                          Wessendorf <span dir="ltr">&lt;<a
                                              moz-do-not-send="true"
                                              href="mailto:matzew@apache.org"
                                              target="_blank">matzew@apache.org</a>&gt;</span>
                                          wrote:<br>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0 0 0
                                            .8ex;border-left:1px #ccc
                                            solid;padding-left:1ex"><br>
                                            <br>
                                            <div class="gmail_quote">
                                              <div>On Tue, Jan 15, 2013
                                                at 6:09 AM, Daniel
                                                Bevenius <span
                                                  dir="ltr">&lt;<a
                                                    moz-do-not-send="true"
href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span>
                                                wrote:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin:0 0 0
                                                  .8ex;border-left:1px
                                                  #ccc
                                                  solid;padding-left:1ex">
                                                  <div dir="ltr">-1 Let
                                                    the client override
                                                    this. I think it
                                                    might be nice to
                                                    show that this can
                                                    be overriden and
                                                    have an example to
                                                    point users to.</div>
                                                </blockquote>
                                                <div><br>
                                                </div>
                                                <div><br>
                                                </div>
                                              </div>
                                              <div>is your -1 only for
                                                the TODO demo app, or
                                                also for the ag-security
                                                library?</div>
                                              <span><font
                                                  color="#888888">
                                                  <div><br>
                                                  </div>
                                                  <div>-M</div>
                                                </font></span>
                                              <div>
                                                <div>
                                                  <div><br>
                                                  </div>
                                                  <div>&nbsp;</div>
                                                  <blockquote
                                                    class="gmail_quote"
                                                    style="margin:0 0 0
                                                    .8ex;border-left:1px
                                                    #ccc
                                                    solid;padding-left:1ex">
                                                    <div dir="ltr">
                                                      <div><br>
                                                      </div>
                                                      <div>I've created&nbsp;<a
moz-do-not-send="true"
                                                          href="https://issues.jboss.org/browse/AEROGEAR-816"
target="_blank">https://issues.jboss.org/browse/AEROGEAR-816</a> so that
                                                        we can track
                                                        this.</div>
                                                      <div><br>
                                                      </div>
                                                    </div>
                                                    <div>
                                                      <div>
                                                        <div
                                                          class="gmail_extra"><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On
                                                          14 January
                                                          2013 20:39,
                                                          Douglas Campos
                                                          <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:qmx@qmx.me" target="_blank">qmx@qmx.me</a>&gt;</span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">nice
                                                          idea<br>
                                                          <br>
                                                          -1 to TODO
                                                          changing<br>
                                                          <div>
                                                          <div><br>
                                                          On 14/01/2013,
                                                          at 16:54,
                                                          Summers
                                                          Pittman &lt;<a
moz-do-not-send="true" href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;
                                                          wrote:<br>
                                                          <br>
                                                          &gt; +1 on
                                                          having
                                                          security be
                                                          enroll.<br>
                                                          &gt;<br>
                                                          &gt; -1 on
                                                          having TODO be
                                                          enroll. &nbsp;This
                                                          is because the
                                                          TODO app
                                                          should<br>
                                                          &gt;
                                                          demonstrate
                                                          that there is
                                                          the ability to
                                                          change things.<br>
                                                          &gt;<br>
                                                          &gt; On
                                                          01/14/2013
                                                          01:50 PM, Kris
                                                          Borchers
                                                          wrote:<br>
                                                          &gt;&gt; +1<br>
                                                          &gt;&gt;<br>
                                                          &gt;&gt; On
                                                          Jan 14, 2013,
                                                          at 12:49 PM,
                                                          Matthias
                                                          Wessendorf
                                                          &lt;<a
                                                          moz-do-not-send="true"
href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;
                                                          wrote:<br>
                                                          &gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          Hi,<br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          our client
                                                          libries are
                                                          using the
                                                          "auth/enroll"
                                                          value for the
                                                          actual<br>
                                                          &gt;&gt;&gt;
                                                          registration
                                                          request,
                                                          examples:<br>
                                                          &gt;&gt;&gt; -
                                                          <a
                                                          moz-do-not-send="true"
href="https://github.com/aerogear/aerogear-ios/blob/master/AeroGear-iOS/AeroGear-iOS/security/AGAuthConfiguration.m#L40"
target="_blank">https://github.com/aerogear/aerogear-ios/blob/master/AeroGear-iOS/AeroGear-iOS/security/AGAuthConfiguration.m#L40</a><br>
                                                          &gt;&gt;&gt; -
                                                          <a
                                                          moz-do-not-send="true"
href="https://github.com/aerogear/aerogear-js/blob/master/src/authentication/adapters/rest.js#L212"
target="_blank">https://github.com/aerogear/aerogear-js/blob/master/src/authentication/adapters/rest.js#L212</a><br>
                                                          &gt;&gt;&gt; -
                                                          <a
                                                          moz-do-not-send="true"
href="https://github.com/aerogear/aerogear-android/blob/master/src/org/jboss/aerogear/android/authentication/AuthenticationConfig.java#L29"
target="_blank">https://github.com/aerogear/aerogear-android/blob/master/src/org/jboss/aerogear/android/authentication/AuthenticationConfig.java#L29</a><br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          However, the
                                                          server uses a
                                                          different
                                                          default
                                                          ("auth/register"):<br>
                                                          &gt;&gt;&gt; -
                                                          <a
                                                          moz-do-not-send="true"
href="https://github.com/aerogear/aerogear-security/blob/master/src/main/java/org/jboss/aerogear/security/rest/service/AuthenticationService.java#L48"
target="_blank">https://github.com/aerogear/aerogear-security/blob/master/src/main/java/org/jboss/aerogear/security/rest/service/AuthenticationService.java#L48</a><br>
                                                          &gt;&gt;&gt; -
                                                          <a
                                                          moz-do-not-send="true"
href="https://github.com/aerogear/TODO/blob/master/server/src/main/java/org/aerogear/todo/server/security/rest/AuthenticationEndpoint.java#L51"
target="_blank">https://github.com/aerogear/TODO/blob/master/server/src/main/java/org/aerogear/todo/server/security/rest/AuthenticationEndpoint.java#L51</a><br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          It was a
                                                          decision from
                                                          the past, that
                                                          we have this
                                                          "model",
                                                          however -<br>
                                                          &gt;&gt;&gt;
                                                          rethinking
                                                          causes some
                                                          concerns... Is
                                                          that really
                                                          ideal?
                                                          Wouldn't it<br>
                                                          &gt;&gt;&gt;
                                                          be just<br>
                                                          &gt;&gt;&gt;
                                                          better to have
                                                          matching
                                                          default, on
                                                          the client AND
                                                          the server ?<br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          Please vote:<br>
                                                          &gt;&gt;&gt;
                                                          [+1] let's
                                                          change the
                                                          server default
                                                          to match the
                                                          "enroll"
                                                          setting<br>
                                                          &gt;&gt;&gt;
                                                          from the
                                                          client
                                                          libraries<br>
                                                          &gt;&gt;&gt;
                                                          [0] I don't
                                                          care<br>
                                                          &gt;&gt;&gt;
                                                          [-1] nah,
                                                          let's keep all
                                                          as is, since
                                                          the client can
                                                          override
                                                          everything<br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          Cheers!<br>
                                                          &gt;&gt;&gt;
                                                          Matthias<br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          --<br>
                                                          &gt;&gt;&gt;
                                                          Matthias
                                                          Wessendorf<br>
                                                          &gt;&gt;&gt;<br>
                                                          &gt;&gt;&gt;
                                                          blog: <a
                                                          moz-do-not-send="true"
href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
                                                          &gt;&gt;&gt;
                                                          sessions: <a
moz-do-not-send="true" href="http://www.slideshare.net/mwessendorf"
                                                          target="_blank">http://www.slideshare.net/mwessendorf</a><br>
                                                          &gt;&gt;&gt;
                                                          twitter: <a
                                                          moz-do-not-send="true"
href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
                                                          &gt;&gt;&gt;
                                                          _______________________________________________<br>
                                                          &gt;&gt;&gt;
                                                          aerogear-dev
                                                          mailing list<br>
                                                          &gt;&gt;&gt; <a
moz-do-not-send="true" href="mailto:aerogear-dev@lists.jboss.org"
                                                          target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                                          &gt;&gt;&gt; <a
moz-do-not-send="true"
                                                          href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                                          &gt;&gt;<br>
                                                          &gt;&gt;
                                                          _______________________________________________<br>
                                                          &gt;&gt;
                                                          aerogear-dev
                                                          mailing list<br>
                                                          &gt;&gt; <a
                                                          moz-do-not-send="true"
href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                                          &gt;&gt; <a
                                                          moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                                          target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                                          &gt;<br>
                                                          &gt;
                                                          _______________________________________________<br>
                                                          &gt;
                                                          aerogear-dev
                                                          mailing list<br>
                                                          &gt; <a
                                                          moz-do-not-send="true"
href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                                          &gt; <a
                                                          moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                                          target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                                          <br>
                                                          <br>
_______________________________________________<br>
                                                          aerogear-dev
                                                          mailing list<br>
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                                          <a
                                                          moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                                          target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <br>
_______________________________________________<br>
                                                    aerogear-dev mailing
                                                    list<br>
                                                    <a
                                                      moz-do-not-send="true"
href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                                    <a
                                                      moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                                      target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                                    <br>
                                                  </blockquote>
                                                </div>
                                              </div>
                                            </div>
                                            <div>
                                              <div><br>
                                                <br clear="all">
                                                <div><br>
                                                </div>
                                                -- <br>
                                                Matthias Wessendorf <br>
                                                <br>
                                                blog: <a
                                                  moz-do-not-send="true"
href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
                                                sessions: <a
                                                  moz-do-not-send="true"
href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
                                                twitter: <a
                                                  moz-do-not-send="true"
href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
                                              </div>
                                            </div>
                                            <br>
_______________________________________________<br>
                                            aerogear-dev mailing list<br>
                                            <a moz-do-not-send="true"
                                              href="mailto:aerogear-dev@lists.jboss.org"
                                              target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                            <a moz-do-not-send="true"
                                              href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                              target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                            <br>
                                          </blockquote>
                                        </div>
                                        <br>
                                      </div>
                                    </div>
                                  </div>
                                  <br>
_______________________________________________<br>
                                  aerogear-dev mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:aerogear-dev@lists.jboss.org"
                                    target="_blank">aerogear-dev@lists.jboss.org</a><br>
                                  <a moz-do-not-send="true"
                                    href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                                    target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                                  <br>
                                </blockquote>
                              </div>
                              <br>
                              <br clear="all">
                              <div><br>
                              </div>
                              -- <br>
                              Matthias Wessendorf <br>
                              <br>
                              blog: <a moz-do-not-send="true"
                                href="http://matthiaswessendorf.wordpress.com/"
                                target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
                              sessions: <a moz-do-not-send="true"
                                href="http://www.slideshare.net/mwessendorf"
                                target="_blank">http://www.slideshare.net/mwessendorf</a><br>
                              twitter: <a moz-do-not-send="true"
                                href="http://twitter.com/mwessendorf"
                                target="_blank">http://twitter.com/mwessendorf</a>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      aerogear-dev mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:aerogear-dev@lists.jboss.org"
                        target="_blank">aerogear-dev@lists.jboss.org</a><br>
                      <a moz-do-not-send="true"
                        href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                        target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            aerogear-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
              target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Matthias Wessendorf <br>
        <br>
        blog: <a moz-do-not-send="true"
          href="http://matthiaswessendorf.wordpress.com/"
          target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
        sessions: <a moz-do-not-send="true"
          href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
        twitter: <a moz-do-not-send="true"
          href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>