1 package gov.nist.javax.sip.clientauthutils;
2 
3 /**
4 * The class is used whenever user credentials for a particular realm (site
5 * server or service) are necessary
6 * @author Emil Ivov <emcho@dev.java.net>
7 * @author M. Ranganathan <mranga@dev.java.net>
8 * @version 1.0
9 */
10 
11 public interface UserCredentials
12 {
13 
14 
15    /**
16     * Returns the name of the user that these credentials relate to.
17     * @return the user name.
18     */
19    public String getUserName();
20 
21 
22    /**
23     * Returns a password associated with this set of credentials.
24     *
25     * @return a password associated with this set of credentials.
26     */
27    public String getPassword();
28 
29 
30    /**
31     * Returns the SIP Domain for this username password combination.
32     *
33     * @return the sip domain
34     */
35    public String getSipDomain();
36 
37 
38 
39 }
40 
41 
42