Class ExternalLoginModuleFactory
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModuleFactory
-
- All Implemented Interfaces:
org.apache.felix.jaas.LoginModuleFactory
,SyncHandlerMapping
public class ExternalLoginModuleFactory extends Object implements org.apache.felix.jaas.LoginModuleFactory, SyncHandlerMapping
Implements a LoginModuleFactory that createsExternalLoginModule
s and allows to configure login modules via OSGi config.
-
-
Field Summary
-
Fields inherited from interface org.apache.felix.jaas.LoginModuleFactory
JAAS_CONTROL_FLAG, JAAS_RANKING, JAAS_REALM_NAME
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.external.impl.SyncHandlerMapping
PARAM_IDP_NAME, PARAM_SYNC_HANDLER_NAME
-
-
Constructor Summary
Constructors Constructor Description ExternalLoginModuleFactory(SyncManager syncManager, ExternalIdentityProviderManager idpManager, org.osgi.service.component.ComponentContext context)
Activates the LoginModuleFactory service
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindContentRepository(ContentRepository contentRepository)
void
bindSecurityProvider(SecurityProvider securityProvider)
LoginModule
createLoginModule()
void
unbindContentRepository(ContentRepository contentRepository)
void
unbindSecurityProvider(SecurityProvider securityProvider)
-
-
-
Constructor Detail
-
ExternalLoginModuleFactory
public ExternalLoginModuleFactory(SyncManager syncManager, ExternalIdentityProviderManager idpManager, org.osgi.service.component.ComponentContext context)
Activates the LoginModuleFactory service- Parameters:
context
- the component context
-
-
Method Detail
-
bindContentRepository
public void bindContentRepository(ContentRepository contentRepository)
-
unbindContentRepository
public void unbindContentRepository(ContentRepository contentRepository)
-
bindSecurityProvider
public void bindSecurityProvider(SecurityProvider securityProvider)
-
unbindSecurityProvider
public void unbindSecurityProvider(SecurityProvider securityProvider)
-
createLoginModule
public LoginModule createLoginModule()
- Specified by:
createLoginModule
in interfaceorg.apache.felix.jaas.LoginModuleFactory
- Returns:
- a new
ExternalLoginModule
instance.
-
-