replayCache.add(ut.getNonce(), utTTL + 1L);
}
}
// Validate whether the security semantics have expired
if (!ut.verifyCreated(utTTL, futureTimeToLive)) {
throw new WSSecurityException(WSSecurityException.MESSAGE_EXPIRED);
}
Credential credential = new Credential();
credential.setUsernametoken(ut);