• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package gov.nist.javax.sip.clientauthutils;
2 
3 import javax.sip.ClientTransaction;
4 
5 public interface AccountManager {
6 
7     /**
8      * Returns the user credentials for a given SIP Domain.
9      * You can implement any desired method (such as popping up a dialog for example )
10      * to retrieve the credentials.
11      *
12      * @param challengedTransaction - the transaction that is being challenged.
13      * @param realm - the realm that is being challenged for which a credential should be
14      *         returned.
15      * @return -- the user credentials associated with the domain.
16      */
17 
getCredentials(ClientTransaction challengedTransaction, String realm)18     UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm);
19 
20 }
21