org.apache.juddi.v3.auth
Class JUDDIAuthenticator
java.lang.Object
org.apache.juddi.v3.auth.JUDDIAuthenticator
- All Implemented Interfaces:
- Authenticator
public class JUDDIAuthenticator
- extends java.lang.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
Method Summary |
java.lang.String |
authenticate(java.lang.String authorizedName,
java.lang.String credential)
|
UddiEntityPublisher |
identify(java.lang.String authInfo,
java.lang.String authorizedName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUDDIAuthenticator
public JUDDIAuthenticator()
authenticate
public java.lang.String authenticate(java.lang.String authorizedName,
java.lang.String credential)
throws AuthenticationException
- Specified by:
authenticate
in interface Authenticator
- Parameters:
authorizedName
- - userId of the user making the registry requestcredential
- - 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(java.lang.String authInfo,
java.lang.String authorizedName)
throws AuthenticationException
- Specified by:
identify
in interface Authenticator
- Throws:
AuthenticationException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.