[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openam-commit
Subject: [CommitOpenAM] [Stash] Dirk Hogan has pushed changes to OpenAM/openam (master)
From: ForgeRock Stash <stash () forgerock ! org>
Date: 2015-10-13 16:35:44
Message-ID: 1772251156.2398.1444754144343.JavaMail.atlstash () stash ! internal ! forgerock ! com
[Download RAW message or body]
[Attachment #2 (text/html)]
<!DOCTYPE html>
<html lang="en">
<head></head>
<body class="stash-theme fullwidth">
<table width="100%" class="fullwidth">
<tbody>
<tr>
<td class="body-cell" colspan="3">
<table width="100%">
<tbody>
<tr>
<td bgcolor="#f5f5f5" class="header" style="background-color: #f5f5f5; border-bottom: \
1px solid #ccc; padding-left: 20px; height: 50px; padding-top: 10px; padding-bottom: \
10px; font-size: 18px; font-family: Arial"><a \
href="https://stash.forgerock.org/projects/OPENAM" style="color: #3b73af; \
text-decoration: none; font-size: 17px; font-weight: bold; padding-bottom: \
10px">OpenAM</a> / <a \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse" style="color: \
#3b73af; text-decoration: none; font-size: 17px; font-weight: bold; padding-bottom: \
10px">openam</a><br /> <div style="margin: 0; padding: 0; margin-top: 3px">
Dirk Hogan has
<span class="il">pushed changes</span> to: 'master'
</div></td>
</tr>
<tr>
<td>
<table border="0" width="100%" style="width:100%;min-width:100%">
<tbody>
<tr>
<td style="padding-right:10px;font-size:13px;font-family:Arial" valign="top" \
nowrap="nowrap"><a href="https://stash.forgerock.org/projects/OPENAM/repos/openam/commits/37acefe4f13fd86ccc7b056573adba2ae18d0fa6" \
style="text-decoration: none; color: #3c78b5;font-family: monospace;; color: #3b73af; \
text-decoration: none">37acefe4f13</a></td> <td width="100%" \
style="width:100%;min-width:100%;padding-right:10px;font-size:13px;font-family:Arial" \
valign="top"><a style="text-decoration: none; color: #3c78b5; color: #3b73af; \
text-decoration: none" \
href="https://bugster.forgerock.org/jira/browse/OPENAM-7049">OPENAM-7049</a> Json \
returned, not json string</td> <td nowrap="nowrap" valign="top" \
style="font-size:13px;font-family:Arial;text-align:right;"><time title="08 October \
2015 10:24 PM" datetime="2015-10-08T22:24:22+0100" class="deprecated">08 Oct \
2015</time></td> </tr>
<tr>
<td></td>
<td colspan="2">
<table class="aui" style="border-collapse: collapse; margin: 20px 0; width: 100%; \
margin-top: 5px"> <tbody>
<tr style="background: #fff; color: #333">
<td style="font-size:13px;font-family:Arial;padding-top:2px;padding-right:10px;margin:0;; \
padding: 7px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid \
#ccc; border-top: 1px solid #ccc" valign="top"><a style="text-decoration: none; \
color: #3c78b5; color: #3b73af; text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse?at=master">openam-sts/openam-publish-s...vice/RestSTSPublishServiceRequestHandler.java</a></td>
<td style="font-size:13px;font-family:Arial;padding-top:2px;text-align:right \
!important;margin:0;; padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc; border-top: 1px solid #ccc" nowrap="nowrap" \
valign="top"><a style="text-decoration: none; color: #3c78b5; color: #3b73af; \
text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/commits/37acefe4f13fd86 \
ccc7b056573adba2ae18d0fa6#openam-sts/openam-publish-sts/src/main/java/org/forgerock/openam/sts/publish/service/RestSTSPublishServiceRequestHandler.java">View \
changes</a></td> </tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">18</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">18</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">19</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">19</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import static org.forgerock.json.JsonValue.*;</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">20</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">20</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import static org.forgerock.json.resource.Responses.newResourceResponse;</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">21</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import static org.forgerock.util.promise.Promises.newExceptionPromise;</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">22</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">21</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import static org.forgerock.util.promise.Promises.newResultPromise;</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">23</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">22</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">23</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import java.io.IOException;</td> </tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">24</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">24</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import java.util.List;</td> </tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">25</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import java.util.Map;</td> </tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">25</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">26</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">26</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">27</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import com.google.inject.Guice;</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">27</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">28</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import com.google.inject.Injector;</td> </tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">162</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">163</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; List<RestSTSInstanceConfig> publishedInstances = publisher.getPublishedInstances();</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">163</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">164</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; JsonObject jsonObject = JsonValueBuilder.jsonValue();</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">164</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">165</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; for (RestSTSInstanceConfig instanceConfig : publishedInstances) {</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">165</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; jsonObject.put(instanceConfig.getDeploymentSubPath(), instanceConfig.toJson().toString());</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">166</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; jsonObject.put(instanceConfig.getDeploymentSubPath(), mapStringToJson(instanceConfig.toJson().toString()));</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">166</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">167</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">167</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">168</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">168</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">169</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; Note that the revision etag is not set \
, as this is not a resource which should really be cached.</td>
</tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">179</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">180</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">180</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">181</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> RestSTSInstanceConfig instanceConfig =</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">181</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">182</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; publisher.getPublishedInstance(request.getResourcePath(), realm);</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">182</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; return newResultPromise(newResourceResponse(instanceConfig.getDeploymentSubPath(),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">183</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; Integer.toString(instanceConfig.hashCode()),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">184</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; JsonValueBuilder.jsonValu \
e().put(instanceConfig.getDeploymentSubPath(), instanceConfig.toJson().toString()).build()));</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">183</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> return newResultPromise(newResourceResponse(</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">184</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; instanceConfig.getDeploymentSubPath(),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">185</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; Integer.toString(instanceConfig.hashCode()),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">186</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; & \
nbsp; JsonValueBuilder.jsonValue().put(instanceConfig.getDeploymentSu \
bPath(), mapStringToJson(instanceConfig.toJson().toString())).build()));</td> \
</tr> </tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">185</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">187</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">186</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">188</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> } catch (STSPublishException e) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">187</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">189</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> String  \
;message = "Exception caught obtaining rest sts instance corresponding to id: " +</td>
</tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">191</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">193</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">192</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">194</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">193</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">195</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">196</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">197</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> A sub-optimal bit of business: I&n \
bsp;want to return json corresponding to published rest-sts instances from the GET. Published</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">198</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> rest-sts state is represented as i \
nstances of the RestSTSInstanceConfig class, which can emit a JsonValue corresponding to</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">199</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> encapsulated config by calling toJson.& \
nbsp;Unfortunately, it was not clear that to obtain the json representation of a JsonValue</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">200</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> requires calling getObject, and that&nb \
sp;this invocation will only return the top-level object encapsulated in JsonValue. However, if</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">201</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> the values in this top-level objec \
t (e.g. a Map) are also JsonValue objects, the \
n calling toString on the Map will end up</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">202</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> calling toString on the encapsulated&nb \
sp;JsonValue instances, which will include information about the json pointer, transformers, etc.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">203</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> Because RestSTSInstanceConfig encapsulates o \
ther config objects (SAML2Config, OpenIdConnectTokenConfig, ...), each of which</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">204</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> will return a JsonValue implementation& \
nbsp;from their toJson methods, and because the RestSTSInstanceConfig delegates to these</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">205</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> instances to obtain the complete c \
onfiguration state, calling getObject on the top-level JsonValue returned by RestSTSInstanceConfig</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">206</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> will not result in proper json,&nb \
sp;again because some of the values encapsulated in this map are JsonValue objects.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">207</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">208</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> The proper solution would be to&nb \
sp;change the signature of all of the toJson m \
ethods in the config hierarchy to return and Object</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">209</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> instance obtained from calling getObjec \
t on the generated JsonValue instance, but this is deemed too risky to undertake now.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">210</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">211</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> So the interim solution is to  \
;marshal the json string back to a Map using Jackson.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">212</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> */</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">213</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> private Map mapStringToJson(String jsonValueString) throws STSPublishException {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">214</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> try {</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">215</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> return  \
;JsonValueBuilder.getObjectMapper().readValue(jsonValueString, Map.class);</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">216</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> } catch (IOException e) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">217</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> throw \
new STSPublishException(ResourceException.INTERNAL_ERROR, "Exception&nb \
sp;caught mapping String to json: " + e.getMessage(), e);</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">218</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">219</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">220</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">194</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">221</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">195</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">222</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> * A PUT to the url&nbs \
p;composed of the publish endpont + the sts in \
stance id with a payload corresponding to a</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">196</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">223</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> * RestSTSInstanceId (wrapped in& \
nbsp;invocation context information) will result in republishing the existing instance</td>
</tr>
</tbody>
</table></td>
</tr>
<tr style="background: #fff; color: #333">
<td style="font-size:13px;font-family:Arial;padding-top:2px;padding-right:10px;margin:0;; \
padding: 7px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid \
#ccc" valign="top"><a style="text-decoration: none; color: #3c78b5; color: #3b73af; \
text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse?at=master">openam-sts/openam-publish-s...vice/SoapSTSPublishServiceRequestHandler.java</a></td>
<td style="font-size:13px;font-family:Arial;padding-top:2px;text-align:right \
!important;margin:0;; padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc" nowrap="nowrap" valign="top"><a \
style="text-decoration: none; color: #3c78b5; color: #3b73af; text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/commits/37acefe4f13fd86 \
ccc7b056573adba2ae18d0fa6#openam-sts/openam-publish-sts/src/main/java/org/forgerock/openam/sts/publish/service/SoapSTSPublishServiceRequestHandler.java">View \
changes</a></td> </tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">21</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">21</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import static org.forgerock.json.resource.Responses.newResourceResponse;</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">22</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">22</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import static org.forgerock.util.promise.Promises.newResultPromise;</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">23</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">23</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">24</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import java.io.IOException;</td> </tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">24</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">25</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import java.util.List;</td> </tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">26</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import java.util.Map;</td> </tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">25</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">27</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">26</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">28</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import org.forgerock.services.context.Context;</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">27</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">29</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">import org.forgerock.json.JsonPointer;</td> </tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">173</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">175</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; the SoapSTSInstanceConfig is a complicated nesti \
ng of JsonValue objects, which should be 'homogenized'</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">174</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">176</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; into a json format prior to inclusion in the response.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">175</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">177</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> */</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">176</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; handler.handleResource(newResourceResponse(instanceConfig.getDeploymentSubPath(), EMPTY_STRING,</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">177</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; new JsonValue(instanceConfig.toJson().toString())));</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">178</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; handler.handleResource(newResourceResponse(instanceConfig.getDeploymentSubPath(), getInstanceConfigEtag(instanceConfig),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">179</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; new JsonValue(mapStringToJson(instanceConfig.toJson().toString()))));</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">178</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">180</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">179</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">181</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> return newResultPromise(newQueryResponse());</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">180</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">182</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> } catch (STSPublishException e) {</td>
</tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">189</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">191</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; List<SoapSTSInstanceConfig> publishedInstances = publisher.getPublishedInstances();</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">190</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">192</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; JsonObject jsonObject = JsonValueBuilder.jsonValue();</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">191</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">193</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; for (SoapSTSInstanceConfig instanceConfig : publishedInstances) {</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">192</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; jsonObject.put(instanceConfig.getDeploymentSubPath(), instanceConfig.toJson().toString());</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">194</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; jsonObject.put(instanceConfig.getDeploymentSubPath(), mapStringToJson(instanceConfig.toJson().toString()));</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">193</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">195</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">194</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">196</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">195</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">197</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; Note that the revision etag is not set \
, as this is not a resource which should really be cached.</td>
</tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">206</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">208</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">207</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">209</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> SoapSTSInstanceConfig instanceConfig =</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">208</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">210</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; publisher.getPublishedInstance(request.getResourcePath(), realm);</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">209</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; return newResultPromise(newResourceResponse(instanceConfig.getDeploymentSubPath(),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">210</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; Integer.toString(instanceConfig.hashCode()),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">211</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; JsonValueBuilder.jsonValu \
e().put(instanceConfig.getDeploymentSubPath(), instanceConfig.toJson().toString()).build()));</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">211</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> return newResultPromise(</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">212</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; newResourceResponse(</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">213</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; instanceConfig.getDeploymentSubPath(),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">214</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; getInstanceConfigEtag(instanceConfig),</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">215</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; & \
nbsp; JsonValueBuilder.jsonValue().put(instanceConfig.getDeploymentSu \
bPath(), mapStringToJson(instanceConfig.toJson().toString())).build()));</td> \
</tr> </tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">212</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">216</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">213</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">217</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> } catch (STSPublishException e) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">214</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">218</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> String  \
;message = "Exception caught obtaining soap sts instance corresponding to id: " +</td>
</tr>
</tbody>
</table></td>
</tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">218</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">222</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">219</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">223</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">220</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">224</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">225</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> private String getInstanceConfigEtag(SoapSTSInstanceConfig instanceConfig) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">226</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> return Integer.toString(instanceConfig.hashCode());</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">227</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">228</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">229</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">230</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> A sub-optimal bit of business: I&n \
bsp;want to return json corresponding to published rest-sts instances from the GET. Published</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">231</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> rest-sts state is represented as i \
nstances of the RestSTSInstanceConfig class, which can emit a JsonValue corresponding to</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">232</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> encapsulated config by calling toJson.& \
nbsp;Unfortunately, it was not clear that to obtain the json representation of a JsonValue</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">233</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> requires calling getObject, and that&nb \
sp;this invocation will only return the top-level object encapsulated in JsonValue. However, if</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">234</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> the values in this top-level objec \
t (e.g. a Map) are also JsonValue objects, the \
n calling toString on the Map will end up</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">235</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> calling toString on the encapsulated&nb \
sp;JsonValue instances, which will include information about the json pointer, transformers, etc.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">236</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> Because RestSTSInstanceConfig encapsulates o \
ther config objects (SAML2Config, OpenIdConnectTokenConfig, ...), each of which</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">237</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> will return a JsonValue implementation& \
nbsp;from their toJson methods, and because the RestSTSInstanceConfig delegates to these</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">238</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> instances to obtain the complete c \
onfiguration state, calling getObject on the top-level JsonValue returned by RestSTSInstanceConfig</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">239</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> will not result in proper json,&nb \
sp;again because some of the values encapsulated in this map are JsonValue objects.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">240</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">241</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> The proper solution would be to&nb \
sp;change the signature of all of the toJson m \
ethods in the config hierarchy to return and Object</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">242</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> instance obtained from calling getObjec \
t on the generated JsonValue instance, but this is deemed too risky to undertake now.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">243</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">244</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> So the interim solution is to  \
;marshal the json string back to a Map using Jackson.</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">245</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> */</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">246</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> private Map mapStringToJson(String jsonValueString) throws STSPublishException {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">247</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> try {</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">248</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> return  \
;JsonValueBuilder.getObjectMapper().readValue(jsonValueString, Map.class);</td> \
</tr> <tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">249</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> } catch (IOException e) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">250</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> throw \
new STSPublishException(ResourceException.INTERNAL_ERROR, "Exception&nb \
sp;caught mapping String to json: " + e.getMessage(), e);</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">251</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">252</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">253</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">254</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"></td> </tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">221</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">255</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td> </tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">222</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">256</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> * A PUT to the url comp \
osed of the publish endpont + the sts instance id with a payload corresponding to a</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">223</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">257</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> * SoapSTSInstanceId (wrapped in i \
nvocation context information) will result in republishing the existing instance</td>
</tr>
</tbody>
</table></td>
</tr>
<tr style="background: #fff; color: #333">
<td style="font-size:13px;font-family:Arial;padding-top:2px;padding-right:10px;margin:0;; \
padding: 7px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid \
#ccc" valign="top"><a style="text-decoration: none; color: #3c78b5; color: #3b73af; \
text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse?at=master">openam-sts/openam-soap-sts/.../soap/publish/PublishServiceConsumerImpl.java</a></td>
<td style="font-size:13px;font-family:Arial;padding-top:2px;text-align:right \
!important;margin:0;; padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc" nowrap="nowrap" valign="top"><a \
style="text-decoration: none; color: #3c78b5; color: #3b73af; text-decoration: none" \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/commits/37acefe4f13fd86 \
ccc7b056573adba2ae18d0fa6#openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/publish/PublishServiceConsumerImpl.java">View \
changes</a></td> </tr>
<tr class="diff-hunk" style="background: #fff; color: #333">
<td colspan="2" style="padding: 7px 10px; text-align: left; vertical-align: top; \
border-bottom: 1px solid #ccc"> <table class="segmentlines CONTEXT" style="width: \
100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">150</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">150</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> if (queryResult.isCollection()) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">151</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">151</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> int size = queryResult.asCollection().size();</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">152</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">152</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> for (int ndx = 0; ndx < size; ndx++) {</td>
</tr>
</tbody>
</table>
<table class="segmentlines REMOVED" style="border-top-color: #fee8e9; \
background-color: #fee8e9; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">153</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> JsonValue jsonInstanceConfig;</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">154</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> try {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">155</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; jsonInstanceConfig = JsonValueBuilder.toJsonValue(queryResult.get(ndx).asString());</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">156</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> } catch (JsonException e) {</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">157</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; throw new STSPublishException(ResourceException.INTERNAL_ERROR, e.getMessage(), e);</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">158</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> }</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">159</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em"></td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">-</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; final SoapSTSInstanceConfig soapSTSInstanceConfig = SoapSTSInstanceConfig.fromJson(jsonInstanceConfig);</td>
</tr>
</tbody>
</table>
<table class="segmentlines ADDED" style="border-top-color: #dfd; background-color: \
#dfd; width: 100%"> <tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em"></td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">153</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em">+</td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; final SoapSTSInstanceConfig soapSTSInstanceConfig = SoapSTSInstanceConfig.fromJson(queryResult.get(ndx));</td>
</tr>
</tbody>
</table>
<table class="segmentlines CONTEXT" style="width: 100%">
<tbody>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">160</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">154</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0"> /*</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">161</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">155</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; check for duplicates: duplicates cannot really&n \
bsp;be present because the combination of realm and deployment</td>
</tr>
<tr>
<td class="line number" style="font-family: monospace, 'Courier New', Courier; \
font-size: 12px; margin: 0; width: 2em">162</td> <td class="line number" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: 0; \
width: 2em">156</td> <td class="line marker" style="font-family: monospace, 'Courier \
New', Courier; font-size: 12px; margin: 0; width: 1em"></td> <td class="line" \
style="font-family: monospace, 'Courier New', Courier; font-size: 12px; margin: \
0">   \
; uri constitutes the identity of the soap-st \
s instance, and duplicate entries will result in LDAP errors</td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
<table width="100%" class="fullwidth">
<tbody>
<tr>
<td class="chrome-cell footer" bgcolor="#f5f5f5" style="border-top: 1px solid #ccc; \
padding-left: 20px; height: 20px; padding-top: 10px; padding-bottom: 10px; font-size: \
12px; color: #707070; background-color: #f5f5f5; background-position: right 10px \
center; background-repeat: no-repeat; background-image: \
url(https://stash.forgerock.org/s/en_US/7e8b796/1/2.4.2/_/download/resources/nl.stefan \
kohler.stash.stash-notification-plugin:email-resources/logo-email-footer.png)"><strong>Hint:</strong> \
You received this notification because you're watching <a \
href="https://stash.forgerock.org/projects/OPENAM/repos/openam/browse" style="color: \
#3b73af; text-decoration: none">openam</a></td> </tr>
</tbody>
</table>
<table width="100%" style="width:100%;min-width:100%" cellpadding="0" \
cellspacing="0"> <tbody>
<tr>
<td style="font-size: 11px;font-family:Arial;color: #666; text-align: center; \
padding-top: 5px">Sent by <a \
href="https://marketplace.atlassian.com/plugins/nl.stefankohler.stash.stash-notification-plugin" \
style="text-decoration: none; color: #666; color: #3b73af; text-decoration: \
none">Notifyr for Stash</a>, the <a href="http://www.atlassian.com/software/stash/" \
style="text-decoration: none; color: #666; color: #3b73af; text-decoration: none">Git \
repository management for enterprise teams</a></td> </tr>
</tbody>
</table>
</body>
</html>
_______________________________________________
CommitOpenAM mailing list
CommitOpenAM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/commitopenam
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic