|
JAIN-SIP 2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserCredentialHash
Interface for those accounts that only supply hash(user:domain:password). This is more secure than simply supplying password because the password cannot be extracted from MD5Hash(user:domain:password). In general, passwords should never be stored in the clear. Applications prefer to store information in user accounts using such a password hash rather than plain text passwords because it offers better security. This class is implemented by the application and is used by the sip stack when dealing with challenge responses. The JAIN-SIP implementation provides the SecureAuthenticationHelper implementation. The application provides the implementation of SecureAccountManager. The secure AccountManager is called back when dealing with authentication challenges and is expected to provide UserCredentialHash corresponding to the user account for the challenged transaction.
SipStack.getSecureAuthenticationHelper(SecureAccountManager, javax.sip.header.HeaderFactory)
,
SecureAccountManager
,
AuthenticationHelper
Method Summary | |
---|---|
String |
getHashUserDomainPassword()
Get the MD5(userName:sipdomain:password) |
String |
getSipDomain()
Get the SipDomain. |
String |
getUserName()
Get the user name. |
Method Detail |
---|
String getUserName()
String getSipDomain()
String getHashUserDomainPassword()
|
JAIN-SIP 2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |