XML Modules File
The Modules file is used by RapidIdentity Connect to discover the available adapters. The modules file MUST be named dssmodule.xml
, MUST exist in the adapter .jar file, and MAY exist anywhere inside the class directory hierarchy inside the adapter jar file. The file MUST contain a module element that conforms to the following XML pattern:
<?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:idauto.net:dss:actiondef" name="DSS SDK" description="Adapter - SDK Example" version="${project.version}" requiresLicense="false" defResource="/net/idauto/exodus/dss/adapter/example/example-adapter-actions.xml" scriptResource="/net/idauto/exodus/dss/adapter/example/ example-adapter-actions.js" />
The module element has the following required attributes:
name | name of the adapter |
description | descriptive name of the adapter - pattern: “Adapter - *” |
defResource | full directory path within the adapter .jar file of the |
scriptResource | full directory path within the adapter .jar file of the |
version | version of the adapter - pattern: “Major.Minor.Revision” (in the example adapter, this is autogenerated by maven resources plugin) |
requiresLicense | should always be set to "false" |
In the example adapter, the XML Modules File can be found here: src/main/resources/net/idauto/exodus/dss/adapter/example/dssmodule.xml