use of oauth2.service.UserRegistrationService in project tesb-rt-se by Talend.
the class SocialApplication method getSingletons.
@Override
public Set<Object> getSingletons() {
Set<Object> classes = new HashSet<Object>();
SocialService socialService = new SocialService();
socialService.setAccounts(accounts);
UserRegistrationService userRegService = new UserRegistrationService();
userRegService.setAccounts(accounts);
SecurityContextFilter scFilter = new SecurityContextFilter();
scFilter.setAccounts(accounts);
ThirdPartyAccessService thirdPartyAccessService = new ThirdPartyAccessService();
thirdPartyAccessService.setAccounts(accounts);
AuthorizationCodeGrantService authService = new AuthorizationCodeGrantService();
authService.setDataProvider(manager);
classes.add(socialService);
classes.add(userRegService);
classes.add(scFilter);
classes.add(authService);
classes.add(thirdPartyAccessService);
return classes;
}
Aggregations