examples.authorization.AccountManagerImpl Maven / Gradle / Ivy
package examples.authorization;
import javax.sip.ClientTransaction;
import gov.nist.javax.sip.clientauthutils.AccountManager;
import gov.nist.javax.sip.clientauthutils.UserCredentials;
public class AccountManagerImpl implements AccountManager {
public UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm) {
return new UserCredentialsImpl("auth","nist.gov","pass");
}
}