Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
GET Password information in AuthenticationPlugin
Author Message
toffifee
Brekeke Junior Member


Joined: 19 Mar 2013
Posts: 6

PostPosted: Wed Mar 20, 2013 8:24 am    Post subject: GET Password information in AuthenticationPlugin Reply with quote

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
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Mar 20, 2013 10:02 am    Post subject: Reply with quote

http://www.brekeke.com/doc/sip/sip_authentication_plugin.pdf
the password is in the return object UserRecord of lookup() method
Back to top
View user's profile
toffifee
Brekeke Junior Member


Joined: 19 Mar 2013
Posts: 6

PostPosted: Thu Mar 21, 2013 12:36 am    Post subject: Reply with quote

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.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Thu Mar 21, 2013 3:04 am    Post subject: Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1