public class PropertiesRoleResolverFactory extends AbstractPropertiesFactory implements RoleResolverFactory
Modifier and Type | Field and Description |
---|---|
private static Map<String,RoleResolver> |
CACHE
Object CACHE.
|
CACHE_ID, logger
Constructor and Description |
---|
PropertiesRoleResolverFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
close()
Iterates over the CACHE and closes all role resolvers.
|
RoleResolver |
createRoleResolver(Map<String,?> jaasOptions)
Creates a new role resolver with the supplied JAAS options.
|
protected RoleResolver |
createRoleResolverInternal(Map<String,?> options)
Initializes a role resolver using a role resolver property source.
|
SearchRequest |
createSearchRequest(Map<String,?> jaasOptions)
Creates a new search request with the supplied JAAS options.
|
createProperties
private static final Map<String,RoleResolver> CACHE
public RoleResolver createRoleResolver(Map<String,?> jaasOptions)
RoleResolverFactory
createRoleResolver
in interface RoleResolverFactory
jaasOptions
- JAAS configuration optionsprotected RoleResolver createRoleResolverInternal(Map<String,?> options)
options
- to initialize role resolverpublic SearchRequest createSearchRequest(Map<String,?> jaasOptions)
RoleResolverFactory
createSearchRequest
in interface RoleResolverFactory
jaasOptions
- JAAS configuration optionspublic static void close()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.