org.apache.juddi.v3.auth
Class JUDDIAuthenticator

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

public class JUDDIAuthenticator
extends Object
implements Authenticator

This is the default implementation of jUDDI's Authenticator interface, which if the user id has an associated publisher, and adds the publisher is this is not the case. Please do NOT use this class in production.

Author:
Steve Viens (sviens@apache.org), Kurt T Stam, Jeff Faath

Constructor Summary
JUDDIAuthenticator()
           
 
Method Summary
 String authenticate(String authorizedName, String credential)
           
 UddiEntityPublisher identify(String authInfo, String authorizedName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUDDIAuthenticator

public JUDDIAuthenticator()
Method Detail

authenticate

public String authenticate(String authorizedName,
                           String credential)
                    throws AuthenticationException
Specified by:
authenticate in interface Authenticator
Parameters:
authorizedName - - userId of the user making the registry request
credential - - some authentical creditial (i.e. a password) which can be used to authenticate the user.
Returns:
the userId that came in on the request providing the user has a publishing account in jUDDI.
Throws:
AuthenticationException

identify

public UddiEntityPublisher identify(String authInfo,
                                    String authorizedName)
                             throws AuthenticationException
Specified by:
identify in interface Authenticator
Throws:
AuthenticationException


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.