Set the following properties in the sun-sip.xml file:
trust-auth-realm-ref — Refers to the jdbcRealm that has assertedRealm as its JAAS context value. See Configuring a Realm for Identity Authentication.
trust-id-ref — Refers to the name of the trust configuration. See Configuring a Trust.
For example:
<sun-sip-app> ... <property name="trust-auth-realm-ref" value="MyAssertedAppRealm" /> <property name="trust-id-ref" value="MyTrustConfig" /> </sun-sip-app>