|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalProviderRegistry
Registry used to store and retrieve PrincipalProvider
s.
PrincipalProvider
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 instanciated Provider via
PrincipalProvider.init(Properties)
configuration
- Properties for the Provider
null
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |