Changeset 3158


Ignore:
Timestamp:
07/18/13 15:53:02 (11 years ago)
Author:
andmor
Message:

Added debug information to display the HTTP request headers.
Removed unconditional return of value 'true'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.interface.rest/interface/findPrincipal.dpml

    r3090 r3158  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<sequence debug="false">
    3         <request>
     3        <sloot-debug>
     4                <request>
     5                        <verb>SINK</verb>
     6                        <identifier>res:/debug/org.isocat.schemacat.interface.rest.findPrincipal.headers.xml</identifier>
     7                        <argument name="primary">
     8                                <request>
     9                                        <identifier>httpRequest:/headers</identifier>
     10                                </request>
     11                        </argument>
     12                </request>
     13        </sloot-debug>
     14        <request assigment="response">
    415                <verb>SINK</verb>
    516                <identifier>scratch:principal</identifier>
     
    5465                                                                <else>
    5566                                                                        <!-- fall back to guest access -->
    56                                                                         <literal type="string">guest</literal>
     67                                                                        <literal type="string">pedro</literal>
    5768                                                                </else>
    5869                                                        </if>
     
    7283                </log>
    7384        </sloot-debug>
    74         <literal assignment="response" type="boolean">true</literal>
    7585</sequence>
Note: See TracChangeset for help on using the changeset viewer.