Changeset 4186
- Timestamp:
- 12/13/13 14:10:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-control-access/control/shib-check_token.acc
r4039 r4186 7 7 </param> 8 8 <idoc> 9 <instr> 10 <type>log</type> 11 <operand>var:token</operand> 12 </instr> 9 <accessor-debug> 10 <instr> 11 <type>log</type> 12 <operand>var:token</operand> 13 </instr> 14 </accessor-debug> 13 15 <instr> 14 16 <type>sloot.xquery</type> … … 38 40 <target>var:cred</target> 39 41 </instr> 40 <instr> 41 <type>log</type> 42 <operand>var:cred</operand> 43 </instr> 42 <accessor-debug> 43 <instr> 44 <type>log</type> 45 <operand>var:cred</operand> 46 </instr> 47 </accessor-debug> 44 48 <instr> 45 49 <type>new</type> … … 48 52 <target>var:state</target> 49 53 </instr> 50 <instr> 51 <type>log</type> 52 <operand>var:state</operand> 53 </instr> 54 <accessor-debug> 55 <instr> 56 <type>log</type> 57 <operand>var:state</operand> 58 </instr> 59 </accessor-debug> 54 60 <instr> 55 61 <type>sloot.xquery</type> 56 62 <operator> 57 <uri>{ string($props//token)}?access_token={string($token)}&scope=read</uri>63 <uri>{replace(string($props//token),'.*@','https://')}</uri> 58 64 </operator> 59 65 <props>active:ISOcat.manage.system.properties</props> … … 61 67 <target>var:url</target> 62 68 </instr> 63 <instr> 64 <type>log</type> 65 <operand>var:url</operand> 66 </instr> 67 <instr> 68 <type>httpGet</type> 69 <url>curi:var:url</url> 70 <state>var:state</state> 71 <target>var:res</target> 72 </instr> 73 <!--<instr> 74 <type>sloot.xquery</type> 75 <operator> 76 <uri>{string($props//token)}</uri> 77 </operator> 78 <props>active:ISOcat.manage.system.properties</props> 79 <token>var:token</token> 80 <target>var:url</target> 81 </instr> 82 <instr> 83 <type>log</type> 84 <operand>var:url</operand> 85 </instr> 69 <accessor-debug> 70 <instr> 71 <type>log</type> 72 <operand>var:url</operand> 73 </instr> 74 </accessor-debug> 86 75 <instr> 87 76 <type>sloot.xquery</type> … … 95 84 <target>var:nvp</target> 96 85 </instr> 97 <instr> 98 <type>log</type> 99 <operand>var:nvp</operand> 100 </instr> 86 <accessor-debug> 87 <instr> 88 <type>log</type> 89 <operand>var:nvp</operand> 90 </instr> 91 </accessor-debug> 101 92 <instr> 102 93 <type>httpPost</type> … … 105 96 <nvp>var:nvp</nvp> 106 97 <target>var:res</target> 107 </instr> -->98 </instr> 108 99 <instr> 109 <type> log</type>100 <type>httpResponseCodeFilter</type> 110 101 <operand>var:res</operand> 102 <target>var:res</target> 111 103 </instr> 104 <accessor-debug> 105 <instr> 106 <type>log</type> 107 <operand>var:res</operand> 108 </instr> 109 </accessor-debug> 112 110 <instr> 113 111 <type>StringToCanonicalString</type> … … 133 131 <target>var:res</target> 134 132 </instr> 135 <instr> 136 <type>log</type> 137 <operand>var:res</operand> 138 </instr> 133 <accessor-debug> 134 <instr> 135 <type>log</type> 136 <operand>var:res</operand> 137 </instr> 138 </accessor-debug> 139 139 <instr> 140 140 <type>sloot.xquery</type>
Note: See TracChangeset
for help on using the changeset viewer.