<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 8/6/15 11:15 PM, Adam Dong wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ+gd32KX1NDTXmaOyOvknESt9=ed=pKP+a+6miS69UZgGjgnQ@mail.gmail.com"
      type="cite">
      <p dir="ltr">I found examples for post binding (enveloped
        signature), but could not find anything for redirect binding
        where the signature is separate from AuthnRequest itself.</p>
      <br>
    </blockquote>
    <br>
    You didn't mention whether you are working with OpenSAML v2 or v3,
    but:<br>
    <br>
    v2:  It's a SecurityPolicyRule: 
org.opensaml.saml2.binding.security.SAML2HTTPRedirectDeflateSignatureRule<br>
    <br>
    SecurityPolicyRules generally run as part of the SecurityPolicy
    executed within a MessageDecoder.<br>
    <br>
    <br>
    <br>
    v3: It's a MessageHandler:
org.opensaml.saml.saml2.binding.security.impl.SAML2HTTPRedirectDeflateSignatureSecurityHandler<br>
    <br>
    Those typically run stand-alone on the MessageContext output by a
    MessageDecoder.<br>
    <br>
    <br>
    <br>
    We don't really have good usage docs on those, unfortunately.  The
    best thing would be to just look at the unit tests to get an idea of
    how to use, and ask questions here if things are unclear.<br>
    <br>
    --Brent<br>
    <br>
  </body>
</html>