Class OpenIDConnectProviderRegistryImpl
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistryImpl
-
- All Implemented Interfaces:
OpenIDConnectProviderRegistry
,Adaptable
,Component
,Extensible
,TimestampedService
public class OpenIDConnectProviderRegistryImpl extends DefaultComponent implements OpenIDConnectProviderRegistry
- Since:
- 5.7
- Author:
- Nelson Silva, Tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.logging.log4j.Logger
log
static String
PROVIDER_EP
protected Map<String,OpenIDConnectProvider>
providers
-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description OpenIDConnectProviderRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<OpenIDConnectProvider>
getEnabledProviders()
protected OAuth2ServiceProviderRegistry
getOAuth2ServiceProviderRegistry()
OpenIDConnectProvider
getProvider(String name)
Collection<OpenIDConnectProvider>
getProviders()
void
registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
protected void
registerOpenIdProvider(OpenIDConnectProviderDescriptor provider)
protected void
registerPendingProviders()
void
start(ComponentContext context)
Start the component.-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, stop, unregister, unregisterContribution, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Field Detail
-
log
protected static final org.apache.logging.log4j.Logger log
-
PROVIDER_EP
public static final String PROVIDER_EP
- See Also:
- Constant Field Values
-
providers
protected Map<String,OpenIDConnectProvider> providers
-
-
Method Detail
-
getOAuth2ServiceProviderRegistry
protected OAuth2ServiceProviderRegistry getOAuth2ServiceProviderRegistry()
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
- Overrides:
registerContribution
in classDefaultComponent
-
getProviders
public Collection<OpenIDConnectProvider> getProviders()
- Specified by:
getProviders
in interfaceOpenIDConnectProviderRegistry
-
getEnabledProviders
public Collection<OpenIDConnectProvider> getEnabledProviders()
- Specified by:
getEnabledProviders
in interfaceOpenIDConnectProviderRegistry
-
getProvider
public OpenIDConnectProvider getProvider(String name)
- Specified by:
getProvider
in interfaceOpenIDConnectProviderRegistry
-
registerPendingProviders
protected void registerPendingProviders()
-
registerOpenIdProvider
protected void registerOpenIdProvider(OpenIDConnectProviderDescriptor provider)
-
start
public void start(ComponentContext context)
Description copied from interface:Component
Start the component. This method is called after all the components were resolved and activated- Specified by:
start
in interfaceComponent
- Overrides:
start
in classDefaultComponent
-
-