All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nist.javax.sip.clientauthutils.AccountManager Maven / Gradle / Ivy

package gov.nist.javax.sip.clientauthutils;

import javax.sip.ClientTransaction;

public interface AccountManager {
	
	/**
	 * Returns the user credentials for a given SIP Domain.
	 * You can implement any desired method (such as popping up a dialog for example ) 
	 * to retrieve the credentials.
	 * 
	 * @param challengedTransaction - the transaction that is being challenged.
	 * @param realm - the realm that is being challenged for which a credential should be
	 *         returned.
	 * @return -- the user credentials associated with the domain. 
	 */

	UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy