javax.servlet.sip
Interface AuthInfo
public interface AuthInfo
This interface allows applications to set the authentication
information on servlet initiated requests that are challenged by a Proxy or UAS.
|
Method Summary |
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. |
addAuthInfo
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.
- Parameters:
statusCode - Status code (401/407) of the challenge responserealm - Realm that was returned in the challenge responseusername - password -
Copyright © 2012. All Rights Reserved.