public interface Authenticator
| 限定符和类型 | 方法和说明 |
|---|---|
void |
authenticate(URL url,
AuthenticatedURL.Token token)
Authenticates against a URL and returns a
AuthenticatedURL.Token to be
used by subsequent requests. |
void authenticate(URL url, AuthenticatedURL.Token token) throws IOException, AuthenticationException
AuthenticatedURL.Token to be
used by subsequent requests.url - the URl to authenticate against.token - the authentication token being used for the user.IOException - if an IO error occurred.AuthenticationException - if an authentication error occurred.Copyright © 2009 The Apache Software Foundation