Back to project page restcomm-android-sdk.
The source code is released under:
GNU General Public License
If you think the Android project restcomm-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.mobicents.restcomm.android.sdk.impl; //from ww w. ja va 2s . co m import android.gov.nist.javax.sip.clientauthutils.AccountManager; import android.gov.nist.javax.sip.clientauthutils.UserCredentials; import android.javax.sip.ClientTransaction; public class AccountManagerImpl implements AccountManager { String Username; String Password; String RemoteIp; public AccountManagerImpl(String username,String RemoteIp, String password) { this.Username = username; this.Password = password; this.RemoteIp = RemoteIp; } public UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm) { return new UserCredentialsImpl(Username,RemoteIp,Password); } }