public class OAuth2ServiceProviderRegistryImpl extends DefaultComponent implements OAuth2ServiceProviderRegistry
OAuth2ServiceProviderRegistry
. The storage backend is a SQL Directory.Modifier and Type | Field and Description |
---|---|
static String |
DIRECTORY_NAME |
static String |
PROVIDER_EP |
static String |
SCHEMA |
Constructor and Description |
---|
OAuth2ServiceProviderRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
OAuth2ServiceProvider |
addProvider(String serviceName,
String description,
String tokenServerURL,
String authorizationServerURL,
String clientId,
String clientSecret,
List<String> scopes) |
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
OAuth2ServiceProvider |
getProvider(String serviceName) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public static final String PROVIDER_EP
public static final String DIRECTORY_NAME
public static final String SCHEMA
public OAuth2ServiceProvider getProvider(String serviceName)
getProvider
in interface OAuth2ServiceProviderRegistry
public OAuth2ServiceProvider addProvider(String serviceName, String description, String tokenServerURL, String authorizationServerURL, String clientId, String clientSecret, List<String> scopes)
addProvider
in interface OAuth2ServiceProviderRegistry
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
Copyright © 2015 Nuxeo SA. All rights reserved.