code: protected void removeSignature(SAMLObject message) {
          if (message instanceof SignableSAMLObject) {
              final SignableSAMLObject signableMessage = (SignableSAMLObject) message;
              if (signableMessage.isSigned()) {
                  log.debug("Removing SAML protocol message signature");
                  signableMessage.setSignature(null);
              }
          }
      }
docs: Removes the signature from the protocol message.
  
  @param message current message context