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 ) ; } } }
Removes the signature from the protocol message .