XMPP Get Session Attribute Assertion
The XMPP Get Session Attribute assertion gets the value of a specified attribute for a session identified by ID and direction and then stores it in a context variable.
gateway90
The
XMPP Get Session Attribute
assertion gets the value of a specified attribute for a session identified by ID and direction and then stores it in a context variable. For example, if you use the XMPP Set Session Attribute assertion to set an attribute "foo" with the value "bar" for a session specified by some ID, then you can use the XMPP Get Session Attribute assertion given the same session ID to store the value of the attribute "foo" into the output variable
outputVar
.Using the Assertion
- Do one of the following:
- To add the assertion to the Policy Development window, see Add an Assertion.
- To change the configuration of an existing assertion, proceed to step 2 below.
- When adding the assertion, the XMPP Session Properties automatically appear; when modifying the assertion, right-clickXMPP Get Session Attributein the policy window and chooseXMPP Get Session AttributePropertiesor double-click the assertion in the policy window. The assertion properties are displayed.
- Configure the properties as follows:OptionDescriptionDirectionFor this drop-down list, indicate the direction the session:Client to Server, orServer to Client.Session IDEnter the ID of the session from which to get the session attribute. You may reference a context variable.Attribute NameEnter the name of the session attribute.Output Variable NameSpecify the name of the context variable in which to place the attribute value of the specified attribute name.
- Click [OK] when done.