<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">This is my interceptor:
<a class="moz-txt-link-freetext" href="https://github.com/picketlink/picketlink-extensions/blob/master/core/src/main/java/org/picketlink/extensions/core/rest/interceptors/PostSignInCookieInterceptor.java">https://github.com/picketlink/picketlink-extensions/blob/master/core/src/main/java/org/picketlink/extensions/core/rest/interceptors/PostSignInCookieInterceptor.java</a><br>
      <br>
      Now if I directly add the header set-cookie with the HTTPOnly
      suffixed,&nbsp;&nbsp; will the ResponseBuilderImpl builder later properly
      handle it?<br>
      <br>
      <br>
      On 02/01/2013 08:37 AM, Bill Burke wrote:<br>
    </div>
    <blockquote cite="mid:510BD30D.8080300@redhat.com" type="cite">
      <div class="moz-text-plain" wrap="true" graphical-quote="true"
        style="font-family: -moz-fixed; font-size: 12px;"
        lang="x-western">
        <pre wrap="">response.getMetadata() is the headers.

On 2/1/2013 9:34 AM, Anil Saldhana wrote:
</pre>
        <blockquote type="cite" style="color: #C0C0C0;">
          <pre wrap=""><span class="moz-txt-citetags">&gt; </span>NewCookie nc = new NewCookie(...);
<span class="moz-txt-citetags">&gt; </span>Response r = Response.ok().header("Set-Cookie", nc.toString()
<span class="moz-txt-citetags">&gt; </span>+";HttpOnly").build();
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>How do we get something like this done with ServerResponse RESTEasy class?
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>On 01/31/2013 06:19 PM, Bill Burke wrote:
</pre>
          <blockquote type="cite" style="color: #C0C0C0;">
            <pre wrap=""><span class="moz-txt-citetags">&gt;&gt; </span>Thanks.  I submitted a bug at JAX-RS 2.0 spec for this.
<span class="moz-txt-citetags">&gt;&gt;</span>
<span class="moz-txt-citetags">&gt;&gt; </span>On 1/31/2013 12:22 PM, Anil Saldhana wrote:
</pre>
            <blockquote type="cite" style="color: #C0C0C0;">
              <pre wrap=""><span class="moz-txt-citetags">&gt;&gt;&gt; </span>Hi Bill,
<span class="moz-txt-citetags">&gt;&gt;&gt; </span>      I was wondering how RESTEasy deals with HTTP Only Cookies.
<span class="moz-txt-citetags">&gt;&gt;&gt;</span>
<span class="moz-txt-citetags">&gt;&gt;&gt; </span>I do see <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/RESTEASY-479">https://issues.jboss.org/browse/RESTEASY-479</a>
<span class="moz-txt-citetags">&gt;&gt;&gt;</span>
<span class="moz-txt-citetags">&gt;&gt;&gt; </span>Regards,
<span class="moz-txt-citetags">&gt;&gt;&gt; </span>Anil
</pre>
            </blockquote>
          </blockquote>
          <pre wrap=""><span class="moz-txt-citetags">&gt; </span>_______________________________________________
<span class="moz-txt-citetags">&gt; </span>security-dev mailing list
<span class="moz-txt-citetags">&gt; </span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:security-dev@lists.jboss.org">security-dev@lists.jboss.org</a>
<span class="moz-txt-citetags">&gt; </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/security-dev">https://lists.jboss.org/mailman/listinfo/security-dev</a>
<span class="moz-txt-citetags">&gt;</span>
</pre>
        </blockquote>
        <pre wrap=""><div class="moz-txt-sig">-- 
Bill Burke
JBoss, a division of Red Hat
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a>
_______________________________________________
security-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:security-dev@lists.jboss.org">security-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/security-dev">https://lists.jboss.org/mailman/listinfo/security-dev</a>
</div></pre>
      </div>
    </blockquote>
    <br>
  </body>
</html>