org.ldaptive.jaas
Class PropertiesAuthenticatorFactory

java.lang.Object
  extended by org.ldaptive.jaas.AbstractPropertiesFactory
      extended by org.ldaptive.jaas.PropertiesAuthenticatorFactory
All Implemented Interfaces:
AuthenticatorFactory

public class PropertiesAuthenticatorFactory
extends AbstractPropertiesFactory
implements AuthenticatorFactory

Provides a module authenticator 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
PropertiesAuthenticatorFactory()
           
 
Method Summary
static void close()
          Iterates over the CACHE and closes any managed dn resolvers and managed authentication handlers.
 AuthenticationRequest createAuthenticationRequest(Map<String,?> jaasOptions)
          Creates a new authentication request with the supplied JAAS options.
 Authenticator createAuthenticator(Map<String,?> jaasOptions)
          Creates a new authenticator with the supplied JAAS options.
protected  Authenticator createAuthenticatorInternal(Map<String,?> options)
          Initializes an authenticator using an authenticator property source.
 
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

PropertiesAuthenticatorFactory

public PropertiesAuthenticatorFactory()
Method Detail

createAuthenticator

public Authenticator createAuthenticator(Map<String,?> jaasOptions)
Creates a new authenticator with the supplied JAAS options.

Specified by:
createAuthenticator in interface AuthenticatorFactory
Parameters:
jaasOptions - JAAS configuration options
Returns:
authenticator

createAuthenticatorInternal

protected Authenticator createAuthenticatorInternal(Map<String,?> options)
Initializes an authenticator using an authenticator property source.

Parameters:
options - to initialize authenticator
Returns:
authenticator

createAuthenticationRequest

public AuthenticationRequest createAuthenticationRequest(Map<String,?> jaasOptions)
Creates a new authentication request with the supplied JAAS options.

Specified by:
createAuthenticationRequest in interface AuthenticatorFactory
Parameters:
jaasOptions - JAAS configuration options
Returns:
authentication request

close

public static void close()
Iterates over the CACHE and closes any managed dn resolvers and managed authentication handlers.



Copyright © 2003-2015 Virginia Tech. All Rights Reserved.