org.openanzo.services
Class AuthenticationServiceFactory

java.lang.Object
  extended by org.openanzo.services.AuthenticationServiceFactory

public class AuthenticationServiceFactory
extends java.lang.Object

Factory to create IModelService based on configuration properties passed in on create method

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
AuthenticationServiceFactory()
           
 
Method Summary
static IAuthenticationService createAuthenticationService(java.lang.Object requestingObject, java.util.Properties properties)
          Attempts to dynamically load a class responsible for communicating authentication calls with the Anzo Server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationServiceFactory

public AuthenticationServiceFactory()
Method Detail

createAuthenticationService

public static final IAuthenticationService createAuthenticationService(java.lang.Object requestingObject,
                                                                       java.util.Properties properties)
Attempts to dynamically load a class responsible for communicating authentication calls with the Anzo Server. The class must implement IAuthenticationService and either have a static 'getInstance(Object,Properties)' method that returns an IAuthenticationService or a constructor that takes only a 'Properties' parameter. WSAuthenticationService is the default/fallback.

Parameters:
requestingObject - Object requesting new service object
properties - containing configuration information for services
Returns:
new IAuthenticationService for provided properties


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