Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RegApp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian Kleifges
RegApp
Commits
347c7d34
Commit
347c7d34
authored
8 months ago
by
Michael Simon
Browse files
Options
Downloads
Patches
Plain Diff
ISSUE-206 add comments for later
parent
90cbf81b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
regapp-idty/src/main/java/edu/kit/scc/webreg/service/user/UserLifecycleManager.java
+4
-2
4 additions, 2 deletions
...edu/kit/scc/webreg/service/user/UserLifecycleManager.java
with
4 additions
and
2 deletions
regapp-idty/src/main/java/edu/kit/scc/webreg/service/user/UserLifecycleManager.java
+
4
−
2
View file @
347c7d34
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment