...
This tutorial describes how to configure security realms to provide authentication and access control for to SIP applications running in Cipango. A realm has a unique name, and is composed of a set of users. Each user has authentication information (for example, a password) and a set of roles associated with him/herself.
...
In this tutorial, we'll who how to add digest SIP Digest authentication to the MyServlet
servlet when receiving REGISTER
and INVITE
requests.
To add declarative security, add the following declarations in your sip.xml
file:
...