test.unit.gov.nist.javax.sip.stack.reinvitechallenge
Class AccountManagerImpl

java.lang.Object
  extended by test.unit.gov.nist.javax.sip.stack.reinvitechallenge.AccountManagerImpl
All Implemented Interfaces:
AccountManager

public class AccountManagerImpl
extends Object
implements AccountManager


Constructor Summary
AccountManagerImpl()
           
 
Method Summary
 UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm)
          Returns the user credentials for a given SIP Domain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountManagerImpl

public AccountManagerImpl()
Method Detail

getCredentials

public UserCredentials getCredentials(ClientTransaction challengedTransaction,
                                      String realm)
Description copied from 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.

Specified by:
getCredentials in interface AccountManager
Parameters:
challengedTransaction - - the transaction that is being challenged.
realm - - the realm that is being challenged for which a credential should be returned.
Returns:
-- the user credentials associated with the domain.


Copyright © 2012. All Rights Reserved.