public interface AuthInfo extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthInfo(int statusCode,
String realm,
String username,
String password)
Helper method to add authentication info into the AuthInfo object for
a challenge response of a specific type (401/407) and realm.
|
boolean |
equals(Object obj)
Compares the specified object with this AuthInfo for equality.
|
void addAuthInfo(int statusCode,
String realm,
String username,
String password)
statusCode - Status code (401/407) of the challenge responserealm - Realm that was returned in the challenge responseusername - password - boolean equals(Object obj)
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.