Custom and Anonymous Identify Support added

We have just added support for anonymous identify and also enhanced the server to support custom identify responses (currently only anonymous) loadable from an external file.

Basically it will be possible now to create your own identify response in a file with additional information (such as DASH requirements) and configure openwsman to load this file when there is an identify request.

At the moment this only works for anonymous identify requests sent to server:port/wsman-anon/identify.

For example, using the command line client:

 wsman anonid -h localhost --port 8889
The response would be:
  1. <?xml version="1.0"?>
  2. <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsmid="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd">
  3. <s:Header/>
  4. <s:Body>
  5. <wsmid:IdentifyResponse>
  6. <wsmid:ProtocolVersion>http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd</wsmid:ProtocolVersion>
  7. <wsmid:ProductVendor>Openwsman Project</wsmid:ProductVendor>
  8. <wsmid:ProductVersion>1.6.0</wsmid:ProductVersion>
  9. </wsmid:IdentifyResponse>
  10. </s:Body>
  11. </s:Envelope>

This response is loaded from an external file, in this case from /etc/openwsman/identify.xml, which is configured in the openwsman global configuration file with:

anon_identify_file = /etc/openwsman/identify.xml

We are planning to add this feature also to the authenticated identify as an option. By default the identify plug-in will still be used.

To try this out, you will need to download the source from subversion.