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.
 

Method Detail

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 -