Forums Read-only archive

GET Password information in AuthenticationPlugin

4 posts · Brekeke SIP Server Forum

toffifee Original post
1. Brekeke Product Name and Version: v3.1.7.0

2. Java version: 7

3. OS type and the version: Windows 8 x64

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

Hi,
I would like to know if it is possible to get the Password in the method:

public UserRecord lookup( String username, String method, String destination, String
authinfo ) throws Exception

Because in my case the username isn't enough.


Kind regards
Thomas
hope
http://www.brekeke.com/doc/sip/sip_auth ... plugin.pdf
the password is in the return object UserRecord of lookup() method
toffifee
I know this. But there I can only set the "new" password.

My question was, how can I get the password, entered in the sip client. (e.g. Zoiper)

Just as I get the "username" as parameter in the lookup() method.
Harold
There are no way to get the password because SIP's authentication is The Digest Authentication.

Refer to the RFC3261 and RFC2617.
http://www.ietf.org/rfc/rfc3261.txt
http://www.ietf.org/rfc/rfc2617.txt