org.apache.juddi.auth
Class DefaultAuthenticator

java.lang.Object
  extended by org.apache.juddi.auth.DefaultAuthenticator
All Implemented Interfaces:
Authenticator

public class DefaultAuthenticator
extends java.lang.Object
implements Authenticator

This is a simple implementation of jUDDI's Authenticator interface.

Author:
Steve Viens (sviens@apache.org)

Constructor Summary
DefaultAuthenticator()
           
 
Method Summary
 java.lang.String authenticate(java.lang.String userID, java.lang.String credential)
           
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

DefaultAuthenticator

public DefaultAuthenticator()
Method Detail

authenticate

public java.lang.String authenticate(java.lang.String userID,
                                     java.lang.String credential)
                              throws RegistryException
Specified by:
authenticate in interface Authenticator
Returns:
The publisherID for this user
Throws:
RegistryException

main

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


Copyright © 2004-2007. All Rights Reserved.