use of org.forgerock.openam.shared.security.crypto.KeyPairProvider in project OpenAM by OpenRock.
the class SelfServiceFactoryImpl method getService.
@Override
public RequestHandler getService(String realm, ProcessInstanceConfig serviceConfig) {
KeyPairProvider keyPairProvider = keyPairProviderFactory.getProvider(realm);
SnapshotTokenHandlerFactory tokenHandlerFactory = keyPairInjector.getInjectedWith(keyPairProvider);
ClassLoader classLoader = getClass().getClassLoader();
return new AnonymousProcessService(serviceConfig, stageProvider, tokenHandlerFactory, processStore, classLoader);
}
Aggregations