} else {
userId = attributeValue;
}
}
final String currentDateTime = new ISOStandardDateFormat().getCurrentDateAndTime();
samlResponse = samlResponse.replace("<USERNAME_STRING>", userId);
samlResponse = samlResponse.replace("<RESPONSE_ID>", createID());
samlResponse = samlResponse.replace("<ISSUE_INSTANT>", currentDateTime);
samlResponse = samlResponse.replace("<AUTHN_INSTANT>", currentDateTime);
samlResponse = samlResponse.replaceAll("<NOT_ON_OR_AFTER>", currentDateTime);