public interface Authenticator
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials(java.lang.String realm,
int attempt)
Returns the credentials to supply for the given realm.
|
Credentials getCredentials(java.lang.String realm, int attempt)
realm
- the authentication realmattempt
- zero on first authentication attempt, increments on each
unsuccessful attempt