Hi kev, yeah it's the same. Security is per a custom group header that I
invented keep; browse to index.html for the details. Dan

Sorry to be brief, sent from my phone
On Dec 1, 2011 9:00 AM, "Kevin Meyer - KMZ" <[email protected]> wrote:

> Hi Dan,
>
> Is this demo the same as what is built in:
> trunk/examples/onlinedemo
> Specifically:
> onlinedemo-webapp-0.2.0-incubating-SNAPSHOT-jetty-console.war
>
> When I run that app, I get the picture with the two bugs, two buttons
> and a port entry box...
>
> Anyway - I can login with standard "sven/pass" via the HTML viewer,
> but I can't authenticate with the JSON viewer.
>
> I'm assuming basic auth, which my JSON viewer encodes as:
> Authorization   Basic c3ZlbjpwYXNz
>
> Response header: 401 Unauthorised
> Body:
> {
>  "message" : null,
>  "stackTrace" : [
> "org.apache.isis.viewer.json.viewer.JsonApplicationException.create(JsonApplicationException.java:39)",
> "org.apache.isis.viewer.json.viewer.JsonApplicationException.create(JsonApplicationException.java:35)",
> "org.apache.isis.viewer.json.viewer.JsonApplicationException.create(JsonApplicationException.java:27)",
> "org.apache.isis.viewer.json.viewer.resources.home.HomePageResourceServerside.notAuthenticated(HomePageResourceServerside.java:63)",
> "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)",
> "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)",
> "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)",
> "java.lang.reflect.Method.invoke(Method.java:597)",
> "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)",
> "org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)",
> "org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)",
> "org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)",
> "org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)",
> "org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)",
> "org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)",
> "org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)",
> "org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)",
> "org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)",
> "javax.servlet.http.HttpServlet.service(HttpServlet.java:820)",
> "org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)",
> "org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355)",
> "org.apache.isis.runtimes.dflt.webapp.IsisSessionFilter$SessionState$1.handle(IsisSessionFilter.java:108)",
> "org.apache.isis.runtimes.dflt.webapp.IsisSession
>  "httpStatusCode" : 401,
>  "causedBy" : null
> }
>
>
> On 1 Dec 2011 at 6:03, Dan Haywood wrote:
>
> > Hi all,
> > following on from the other recent thread about growing our community,
> I've
> > been working on an online demo.
> >
> > Mike Burton has kindly offered to host it for us, but in the meantime it
> is
> > available as a standalone WAR.  I've linked to it from the demos page at
> > Restful Objects <http://restfulobjects.org/demos>.
> >
> > If you get chance, I'd appreciate any feedback, especially the supporting
> > documentation.
> >
> > Thx
> > Dan
> >
>
>
> --
> Kevin Meyer, PhD, Pr.Sci.Nat
> KMZ             P.O. Box 9822, Sharon Park, South Africa.
> Tel: +27 11 363 2001   Cell: +27 83 346 3045
>
>
>

Reply via email to