org.ldaptive.jaas
Class PropertiesRoleResolverFactory
java.lang.Object
org.ldaptive.jaas.AbstractPropertiesFactory
org.ldaptive.jaas.PropertiesRoleResolverFactory
- All Implemented Interfaces:
- RoleResolverFactory
public class PropertiesRoleResolverFactory
- extends AbstractPropertiesFactory
- implements RoleResolverFactory
Provides a module role resolver factory implementation that uses the
properties package in this library.
- Version:
- $Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
- Author:
- Middleware Services
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesRoleResolverFactory
public PropertiesRoleResolverFactory()
createRoleResolver
public RoleResolver createRoleResolver(Map<String,?> jaasOptions)
- Creates a new role resolver with the supplied JAAS options.
- Specified by:
createRoleResolver in interface RoleResolverFactory
- Parameters:
jaasOptions - JAAS configuration options
- Returns:
- role resolver
createRoleResolverInternal
protected RoleResolver createRoleResolverInternal(Map<String,?> options)
- Initializes a role resolver using a role resolver property source.
- Parameters:
options - to initialize role resolver
- Returns:
- role resolver
createSearchRequest
public SearchRequest createSearchRequest(Map<String,?> jaasOptions)
- Creates a new search request with the supplied JAAS options.
- Specified by:
createSearchRequest in interface RoleResolverFactory
- Parameters:
jaasOptions - JAAS configuration options
- Returns:
- search request
close
public static void close()
- Iterates over the CACHE and closes all role resolvers.
Copyright © 2003-2015 Virginia Tech. All Rights Reserved.