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.
 

Method Detail

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 response
realm - Realm that was returned in the challenge response
username -
password -


Copyright © 2012. All Rights Reserved.