gnu.inet.http
Interface Authenticator


public interface Authenticator

Callback interface for managing authentication.

Author:
Chris Burdess
See Also:
Request.setAuthenticator(gnu.inet.http.Authenticator)

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

Method Detail

getCredentials

Credentials getCredentials(java.lang.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