JNec / sipservlets

Automatically exported from code.google.com/p/sipservlets
0 stars 0 forks source link

Security domain in ear #241

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
mobicents does not properly set the securityDomain string when the security 
domain is defined in the jboss-app.xml instead of jboss-web.xml

What steps will reproduce the problem?
1. Create an ear project;
2. Add a jboss-app.xml with a security domain defined;
3. Create a sip servlet with digest authentication required;
4. turn the log level to DEBUG for 
org.mobicents.servlet.sip.catalina.security.authentication;
5. send an INVITE;
6. see the log:
DEBUG 
[org.mobicents.servlet.sip.catalina.security.authentication.DigestAuthenticator]
 Security Domain null for Realm myrealm
DEBUG 
[org.mobicents.servlet.sip.catalina.security.authentication.DigestAuthenticator]
 Security Domain is null using default security domain sip-servlets for Realm 
myrealm

What is the expected output? What do you see instead?
Really this is not a real bug since the authentication uses the right security 
domain defined in the jboss-app.xml (I don't know how). Anyway it seems wrong 
to me that the SipStandardContext#getSecurityDomain always returns null in this 
case.

What version of the product are you using? On what operating system?
mss-2.0.0.FINAL-jboss-as-7.1.2.Final

Original issue reported on code.google.com by messa...@gmail.com on 6 Nov 2013 at 8:52

GoogleCodeExporter commented 8 years ago
Can you provide a sample app that reproduces the problem so we can investigate ?

Original comment by jean.deruelle on 8 Nov 2013 at 1:54

GoogleCodeExporter commented 8 years ago
You can use the same project I've uploaded for the issue 
http://code.google.com/p/sipservlets/issues/detail?id=240

Original comment by messa...@gmail.com on 9 Nov 2013 at 3:45

GoogleCodeExporter commented 8 years ago
Issue was moved to GitHub:

https://github.com/Mobicents/sip-servlets/issues/34

Original comment by desi.pep...@telestax.com on 18 Dec 2014 at 6:54

GoogleCodeExporter commented 8 years ago

Original comment by jean.deruelle on 18 Dec 2014 at 9:27