gnu.inet.http

Interface Authenticator

public interface Authenticator

Callback interface for managing authentication.

Author:
Chris Burdess

See Also:
Request.setAuthenticator(Authenticator)

Method Summary

Credentials
getCredentials(String realm, int attempt)
Returns the credentials to supply for the given realm.

Method Details

getCredentials

public Credentials getCredentials(String realm,
                                  int attempt)
Returns the credentials to supply for the given realm.

Parameters:
realm - the authentication realm
attempt - zero on first authentication attempt, increments on each unsuccessful attempt


© Copyright 2003 The Free Software Foundation, all rights reserved