Description:
There are some jar files and settings in the Policy Server JVMOptions.txt for XML parsing that are not provided or enabled until the Siteminder option pack is installed. If you wish to use XML parsing without the options pack you need to edit the JVMOptions.txt file and remove these entries.
Solution:
The client had developed a Custom Authentication Scheme that used XML parsing, but had difficulty getting the XML libraries to load and run. After investigation, the Custom Auth Scheme can only load if the following bootclasspath entries in JVMOptions.txt were removed.
-Xbootclasspath/p:D:/CA/siteminder/bin/thirdparty/xercesImpl.jar;D:/CA/siteminder/bin/thirdparty/xml-apis.jar
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XML11Configuration
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser
Although those files exist in the standard Siteminder Policy Server distribution, the actual jar files are only installed if you installed the SM Policy Server Options pack. If you need to use XML processing then you can :
The client in this case chose option c) and deleted the bootclasspath parameters then their custom auth scheme loaded and worked correctly.