if(authReqDTO.isDoSingleLogout()){
authStmt.setSessionIndex(sessionId);
}
samlAssertion.getAuthnStatements().add(authStmt);
Audience audience = new AudienceBuilder().buildObject();
audience.setAudienceURI(authReqDTO.getIssuer());
AudienceRestriction audienceRestriction = new AudienceRestrictionBuilder().buildObject();
audienceRestriction.getAudiences().add(audience);
Conditions conditions = new ConditionsBuilder().buildObject();
conditions.setNotBefore(currentTime);