public interface TrustHandler
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Properties props) |
boolean |
isTrusted(String asserterAddress,
String messageDirection,
X509Certificate securityid,
Principal[] pAssertedValues)
determines if the container can trust the network entity from which we received the message with P-Asserted-Identity
header.
|
void initialize(Properties props)
boolean isTrusted(String asserterAddress, String messageDirection, X509Certificate securityid, Principal[] pAssertedValues)
pAssertedValues - P-Asserted-Identity header valuesmessageDirection - "Incoming" if this method is invoked for a incoming request, "Outgoing" if the message is
being sent out.asserterAddress - ipaddress/hostname of the network entity from which we received the SIP message with
P-Asserted-Identity header. Inorder to accept/use the values in P-Asserted-Identity header the network entity should
be a trusted.securityid - is the asserting security identity, if a secure connection is used then this would be the
java.security.cert.X509Certificate, else null.Copyright © 2019. All rights reserved.