Search in sources :

Example 1 with ThirdPartyRegistrationService

use of oauth2.manager.ThirdPartyRegistrationService in project tesb-rt-se by Talend.

the class OAuthManagerApplication method getSingletons.

@Override
public Set<Object> getSingletons() {
    Set<Object> classes = new HashSet<Object>();
    ThirdPartyRegistrationService thirdPartyService = new ThirdPartyRegistrationService();
    thirdPartyService.setDataProvider(manager);
    AccessTokenService ats = new AccessTokenService();
    ats.setDataProvider(manager);
    classes.add(thirdPartyService);
    classes.add(ats);
    return classes;
}
Also used : ThirdPartyRegistrationService(oauth2.manager.ThirdPartyRegistrationService) AccessTokenService(org.apache.cxf.rs.security.oauth2.services.AccessTokenService) HashSet(java.util.HashSet)

Aggregations

HashSet (java.util.HashSet)1 ThirdPartyRegistrationService (oauth2.manager.ThirdPartyRegistrationService)1 AccessTokenService (org.apache.cxf.rs.security.oauth2.services.AccessTokenService)1