org.ldaptive.jaas
Class PropertiesRoleResolverFactory

java.lang.Object
  extended by org.ldaptive.jaas.AbstractPropertiesFactory
      extended by 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

Field Summary
 
Fields inherited from class org.ldaptive.jaas.AbstractPropertiesFactory
CACHE_ID, logger
 
Constructor Summary
PropertiesRoleResolverFactory()
           
 
Method Summary
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.
 
Methods inherited from class org.ldaptive.jaas.AbstractPropertiesFactory
createProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesRoleResolverFactory

public PropertiesRoleResolverFactory()
Method Detail

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.