|Re: Texo authentication and json query [message #1063260 is a reply to message #1063242]
||Wed, 12 June 2013 20:50
| Martin Taal
Registered: July 2009
See answers inline.
On 06/12/2013 09:26 PM, Corby James wrote:
> Hi, I'm relatively new to Texo and have 2 simple questions...
> 1. Does texo have any sort of authentication mechanism or how is this typically done in real applications?
MT>> Texo does not have an authentication mechanism because there are several ways of doing it. And it is quite easy to
use them with the current texo. For example I understand Spring has authentication setup using request filters. Or you
can extend the current Texo servlets and override the service/get/post methods to authenticate before continueing by
calling the superclass (which is the Texo servlet). Check out the web.xml of the example project to see which servlets
Texo uses (there are only a few).
> 2. How do I execute a query for selected attributes without pulling back all the other associated data. What I want is
> something like... select e.firstname, e.lastname from entity as e. Is there a way to do that?
MT>> This is not possible currently, but can be added, please enter a bugzilla for it. In the meantime you can pass the
childLevels parameter to limit how deep the structure is returned:
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.02537 seconds