Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
d47bf935
Commit
d47bf935
authored
Apr 15, 2015
by
michael.simon
Browse files
user update for service only
parent
9d330308
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-service/src/main/java/edu/kit/scc/webreg/service/impl/UserUpdateServiceImpl.java
View file @
d47bf935
...
...
@@ -53,6 +53,7 @@ import edu.kit.scc.webreg.service.ASUserAttrService;
import
edu.kit.scc.webreg.service.HomeOrgGroupService
;
import
edu.kit.scc.webreg.service.SamlIdpMetadataService
;
import
edu.kit.scc.webreg.service.SamlSpConfigurationService
;
import
edu.kit.scc.webreg.service.ServiceService
;
import
edu.kit.scc.webreg.service.UserService
;
import
edu.kit.scc.webreg.service.UserUpdateService
;
import
edu.kit.scc.webreg.service.reg.AttributeSourceQueryService
;
...
...
@@ -80,6 +81,9 @@ public class UserUpdateServiceImpl implements UserUpdateService {
@Inject
private
UserService
userService
;
@Inject
private
ServiceService
serviceService
;
@Inject
private
HomeOrgGroupService
homeOrgGroupService
;
...
...
@@ -166,6 +170,8 @@ public class UserUpdateServiceImpl implements UserUpdateService {
* service. Else update all (login via web or generic attribute query)
*/
if
(
service
!=
null
)
{
service
=
serviceService
.
findByIdWithAttrs
(
service
.
getId
(),
"attributeSourceService"
);
for
(
AttributeSourceServiceEntity
asse
:
service
.
getAttributeSourceService
())
{
changed
|=
attributeSourceQueryService
.
updateUserAttributes
(
user
,
asse
.
getAttributeSource
(),
executor
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment