org.apache.juddi.v3.auth
Interface Authenticator
- All Known Implementing Classes:
- CryptedXMLDocAuthenticator, JUDDIAuthenticator, LdapSimpleAuthenticator, 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
String authenticate(String authorizedName,
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(String authInfo,
String authorizedName)
throws AuthenticationException,
FatalErrorException
- Throws:
AuthenticationException
FatalErrorException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.