code: public TSSConfig getTSSConfig(Map<String, Object> properties, Map<String, List<TransportAddress>> addrMap) throws Exception {
          TSSConfig tssConfig = new TSSConfig();
          printTrace("IIOP Server Policy", null, 0);
  
          PolicyData policyData = extractPolicyData(properties, KEY_POLICY, TYPE);
  
          if (policyData != null) {
              printTrace("CSIV2", null, 1);
  
              TSSCompoundSecMechListConfig mechListConfig = tssConfig.getMechListConfig();
              mechListConfig.setStateful(policyData.stateful);
              printTrace("Stateful", mechListConfig.isStateful(), 2);
  
              populateSecMechList(mechListConfig, policyData.layersData, addrMap);
          }
          return tssConfig;
      }
docs: /*
  The TSSConfig object is the modal representation of <iiopServerPolicy> configuration, the user specify
  in server.xml. An example of <iiopServerPolicy> entry is shown here for quick reference.
  <iiopServerPolicy id="jaykay">
  --<csiv2 stateful="false">
  ----<layers>
  ------<attributeLayer identityAssertionEnabled="true" trustedIdentities="MyHost"/>
  ------<authenticationLayer establishTrustInClient="Supported" mechanisms="GSSUP,LTPA"/>
  ------<transportLayer establishTrustInClient="Supported"/>
  ----</layers>
  --</csiv2>
  --<iiopEnpoint host="localhost" iiopPort="123" iiopsPort="321">
  ----<sslOptions sessionTimeout="1"></sslOptions>
  --</iiopEnpoint>
  </iiopServerPolicy>