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
  1. 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.
  2. When adding the assertion, the XMPP Session Properties automatically appear; when modifying the assertion, right-click 
    XMPP Get Session Attribute
     in the policy window and choose
    XMPP Get Session Attribute
     Properties
    or double-click the assertion in the policy window. The assertion properties are displayed.
  3. Configure the properties as follows:
    Option
    Description
    Direction
    For this drop-down list, indicate the direction the session: 
    Client to Server
    , or 
    Server to Client
    .
    Session ID
    Enter the ID of the session from which to get the session attribute. You may reference a context variable.
    Attribute Name
    Enter the name of the session attribute.
    Output Variable Name
    Specify the name of the context variable in which to place the attribute value of the specified attribute name.
  4. Click [
    OK
    ] when done.