// Check that the sender of this CloseSequence holds the correct token
SequencePropertyBean tokenBean = sequencePropMgr.retrieve(sequenceId, Sandesha2Constants.SequenceProperties.SECURITY_TOKEN);
if(tokenBean != null) {
SecurityManager secManager = SandeshaUtil.getSecurityManager(msgCtx.getConfigurationContext());
OMElement body = msgCtx.getEnvelope().getBody();
SecurityToken token = secManager.recoverSecurityToken(tokenBean.getValue());
secManager.checkProofOfPossession(token, body, msgCtx);
}
FaultManager faultManager = new FaultManager();
SandeshaException fault = faultManager.checkForUnknownSequence(rmMsgCtx, sequenceId, storageManager);