org.openvpms.esci.service.client
Interface ServiceAuthenticators

All Superinterfaces:
ServiceAuthenticator
All Known Implementing Classes:
DefaultServiceAuthenticators

public interface ServiceAuthenticators
extends ServiceAuthenticator

Performs authentication using a group of ServiceAuthenticators.

The authenticator to use is selected using the supplied URL.

Version:
$LastChangedDate: 2006-05-02 05:16:31Z $
Author:
OpenVPMS Team

Method Summary
 void addAuthenticator(String url, ServiceAuthenticator authenticator)
          Registers an authenticator for a url.
 
Methods inherited from interface org.openvpms.esci.service.client.ServiceAuthenticator
getPasswordAuthentication
 

Method Detail

addAuthenticator

void addAuthenticator(String url,
                      ServiceAuthenticator authenticator)
Registers an authenticator for a url.

Any existing authenticator for the url will be replaced.

The authenticator will be registered using a weak reference.

Parameters:
url - the url to supply credentials for
authenticator - the authenticator


Copyright © 2010-2011 OpenVPMS. All Rights Reserved..