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