Skip navigation links
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, java.lang.String realm, java.lang.String username, java.lang.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,
java.lang.String realm,
java.lang.String username,
java.lang.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 response
realm
- Realm that was returned in the challenge response
username
-
password
-
Skip navigation links
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Java SIP Servlet API 1.1 Reference
Part Number E17883-01