From manderse at redhat.com Mon Apr 22 07:33:38 2013 Content-Type: multipart/mixed; boundary="===============7688229889793052977==" MIME-Version: 1.0 From: Max Rydahl Andersen To: jboss-as7-dev at lists.jboss.org Subject: Re: [jboss-as7-dev] dmr.js Date: Mon, 22 Apr 2013 13:32:28 +0200 Message-ID: <20130422113228.GE89102@slowbeard.local> In-Reply-To: 641075C6-B1AA-4B4F-9E5A-D73937719D26@redhat.com --===============7688229889793052977== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2013 at 09:44:15AM -0400, Jason Greene wrote: >Well last time you didn't like the low level JSON interface (e.g. no deplo= yment API that wraps it, uploads require an http upload and a management op= ). Yes, I was hoping the management client could wrap it ;) anyways, I prefer a more manual API if it unties us from having to bundle m= ultiple versions of the client library which was the case a few times now. All a balancing act. >You also would have to implement the auth protocol yourself. As to the htt= p server side, we take patches! :) Got any pointers ? :) /max >On Apr 10, 2013, at 7:56 AM, Max Rydahl Andersen w= rote: > >> On Tue, Apr 09, 2013 at 12:01:47PM -0400, Jason Greene wrote: >>> Just to be extra clear. Transparent / silent local authentication which= is handled by the native protocol requires that the client implement the a= uth protocol. This is not possible from a web browser since JS code is not = allowed to read arbitrary files. So for this reason we do not have support = for it over http. >> >> Yes, but a java client could so it would be great for us - would have av= oided us from remoting binary bugs in tooling. >> >> This of course assumes there are less compatibility bugs in the autentic= ation layer than in remoting :) >> >> /max >> >>> On Apr 9, 2013, at 6:03 AM, Max Rydahl Andersen = wrote: >>> >>>> This is cool - how does the authentication work/not work ? >>>> >>>> Found this on github: >>>> "It requires a patched AS7 instance if not running on the same host. >>>> Some browsers require extra steps to get the authentication working, b= ut Firefox should work out of the box." >>>> >>>> http://haraldpehl.blogspot.de/2013/03/independent-jboss-admin-console.= html explains it a bit but >>>> what is the patch needed for AS7 and with all these quirks do you thin= k we can make it portable/usable for >>>> writing a webapp that connects remotely ? >>>> >>>> /max >>>> >>>> On Tue, Apr 09, 2013 at 08:11:59AM +0200, Heiko Braun wrote: >>>>> Here's a code sample: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Apr 8, 2013, at 1:20 PM, Heiko Braun wrote: >>>>> >>>>>> >>>>>> >>>>>> If you want to use the DMR API form plain JS and need all the typing= build in, the dmr.js might be your friend: >>>>>> >>>>>> https://github.com/hal/dmr.js >>>>>> >>>>>> >>>>>> Regards, Heiko >>>>>> _______________________________________________ >>>>>> jboss-as7-dev mailing list >>>>>> jboss-as7-dev(a)lists.jboss.org >>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev >>>> >>>>> _______________________________________________ >>>>> jboss-as7-dev mailing list >>>>> jboss-as7-dev(a)lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev >>>> >>>> _______________________________________________ >>>> jboss-as7-dev mailing list >>>> jboss-as7-dev(a)lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev --===============7688229889793052977==--