public interface PrincipalProviderRegistry
PrincipalProviders.PrincipalProvider| Modifier and Type | Method and Description |
|---|---|
PrincipalProvider |
getDefault() |
PrincipalProvider |
getProvider(String className) |
PrincipalProvider[] |
getProviders()
Returns all registered providers.
|
PrincipalProvider |
registerProvider(Properties configuration)
Registers a new provider by means of a configuration.
|
PrincipalProvider registerProvider(Properties configuration) throws RepositoryException
LoginModuleConfig.PARAM_PRINCIPAL_PROVIDER_CLASS
to be able to create a instance of PrincipalProvider.
The Properties will be passed to the instantiated Provider via
PrincipalProvider.init(Properties)
configuration - Properties for the Providernull if the configuration
was incomplete.RepositoryException - if an error occurs while creating the
provider instance.PrincipalProvider getDefault()
PrincipalProvider getProvider(String className)
className - Name of the principal provider class.null if no provider with
the given class name was registered.PrincipalProvider[] getProviders()
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.