org.apache.juddi.v3.auth
Interface Authenticator
- All Known Implementing Classes:
- CryptedXMLDocAuthenticator, JUDDIAuthenticator, XMLDocAuthenticator
public interface Authenticator
Authenticator interface. Any class implementing this interface can be invoked by
the AuthenticatorFactory to handle authentication of the user executing a UDDI request.
This occurs in two steps:
1) Authenticating the user based the passed credentials
2) Identifying the user by associating either the authorizationKey or user Id with publisher information
- Author:
- Steve Viens (sviens@apache.org), Jeff Faath
authenticate
java.lang.String authenticate(java.lang.String authorizedName,
java.lang.String cred)
throws AuthenticationException,
FatalErrorException
- Parameters:
authorizedName
- - userId of the user making the registry requestcred
- - some authentical creditial (i.e. a password) which can be used to
authenticate the user.
- Returns:
- The publisherID for this user
- Throws:
{@link
- AuthenticationException}, FatalErrorException
AuthenticationException
FatalErrorException
identify
UddiEntityPublisher identify(java.lang.String authInfo,
java.lang.String authorizedName)
throws AuthenticationException,
FatalErrorException
- Throws:
AuthenticationException
FatalErrorException
Copyright © 2004-2010. All Rights Reserved.