org.apache.juddi.auth
Class AuthenticatorFactory

java.lang.Object
  extended by org.apache.juddi.auth.AuthenticatorFactory

public class AuthenticatorFactory
extends java.lang.Object

Implementation of Factory pattern used to create an implementation of the org.apache.juddi.auth.Authenticator interface. The name of the Authenticator implementation to create is passed to the getAuthenticator method. If a null value is passed then the default Authenticator implementation "org.apache.juddi.auth.SimpleAuthenticator" is created.

Author:
Steve Viens (sviens@apache.org)

Constructor Summary
AuthenticatorFactory()
           
 
Method Summary
static Authenticator getAuthenticator()
          Returns a new instance of a AuthenticatorFactory.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorFactory

public AuthenticatorFactory()
Method Detail

getAuthenticator

public static Authenticator getAuthenticator()
Returns a new instance of a AuthenticatorFactory.

Returns:
Authenticator

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2007. All Rights Reserved.