Parameters: configPolicy - Policy configured for the incoming message. Parameters: recvdPolicy - policy inferred from the incoming message. throws: com.sun.xml.wss.PolicyViolationException - when policy infered from incoming message does not match with whatis configured.