GET Password information in AuthenticationPlugin

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
toffifee
Posts: 6
Joined: Tue Mar 19, 2013 4:46 am

GET Password information in AuthenticationPlugin

Post by toffifee »

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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

http://www.brekeke.com/doc/sip/sip_auth ... plugin.pdf
the password is in the return object UserRecord of lookup() method
toffifee
Posts: 6
Joined: Tue Mar 19, 2013 4:46 am

Post by 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
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by 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
Post Reply