Class ExternalIDPManagerImpl
java.lang.Object
org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker<ExternalIdentityProvider>
org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalIDPManagerImpl
- All Implemented Interfaces:
ExternalIdentityProviderManager
public class ExternalIDPManagerImpl
extends AbstractServiceTracker<ExternalIdentityProvider>
implements ExternalIdentityProviderManager
ExternalIDPManagerImpl
is used to manage registered external identity provider. This class automatically
tracks the IDPs that are registered via OSGi but can also be used in non-OSGi environments by manually adding and
removing the providers.-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by OSGiExternalIDPManagerImpl
(Whiteboard whiteboard) Constructor used by non OSGi -
Method Summary
Modifier and TypeMethodDescriptiongetProvider
(@NotNull String name) Returns the registered identity provider with the given name.Methods inherited from class org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker
getServices, start, stop
-
Constructor Details
-
ExternalIDPManagerImpl
public ExternalIDPManagerImpl()Default constructor used by OSGi -
ExternalIDPManagerImpl
Constructor used by non OSGi- Parameters:
whiteboard
- the whiteboard
-
-
Method Details
-
getProvider
Description copied from interface:ExternalIdentityProviderManager
Returns the registered identity provider with the given name.- Specified by:
getProvider
in interfaceExternalIdentityProviderManager
- Parameters:
name
- the provider name- Returns:
- the registered provider or
null
-