Skip to content
Snippets Groups Projects
Commit 347c7d34 authored by Michael Simon's avatar Michael Simon
Browse files

ISSUE-206 add comments for later

parent 90cbf81b
No related branches found
No related tags found
No related merge requests found
......@@ -69,15 +69,17 @@ public class UserLifecycleManager implements Serializable {
try {
if (user instanceof SamlUserEntity) {
user = userUpdater.updateUserFromIdp((SamlUserEntity) user, "user-expire-job");
// TODO: call and implement expire function
}
else if (user instanceof OidcUserEntity) {
user = oidcUserUpdater.updateUserFromOP((OidcUserEntity) user, "user-expire-job", null);
// TODO: call and implement expire function
}
} catch (UserUpdateException e) {
}
sendMail(user, emailTemplateName);
user.setExpiredSent(new Date());
//sendMail(user, emailTemplateName);
//user.setExpiredSent(new Date());
}
private void sendMail(UserEntity user, String emailTemplateName) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment