org.openanzo.server.security
Class AuthenticationFactory

java.lang.Object
  extended by org.openanzo.server.security.AuthenticationFactory

public class AuthenticationFactory
extends java.lang.Object

Factory to create IAuthenticationProviders

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
AuthenticationFactory()
           
 
Method Summary
static IAuthenticationProvider createAuthenticationProvider(java.util.Properties properties)
          Attempts to dynamically load a class responsible for authentication users.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationFactory

public AuthenticationFactory()
Method Detail

createAuthenticationProvider

public static final IAuthenticationProvider createAuthenticationProvider(java.util.Properties properties)
Attempts to dynamically load a class responsible for authentication users. The class must implement IAuthenticationProvider and either have a static 'getInstance(Properties)' method that returns an IAuthenticationProvider or a constructor that takes only a 'Properties' parameter. AuthenticationProvider is the default/fallback.

Parameters:
properties -
Returns:
AuthenticationProvider class


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.