Getting 'failed to gather credentials' when trying to post against WS-Security SAML SV auth scheme. (Legacy_Onyx KB Id: 219340)
search cancel

Getting 'failed to gather credentials' when trying to post against WS-Security SAML SV auth scheme. (Legacy_Onyx KB Id: 219340)


Article ID: 54847


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On



I just upgraded to TxM 6 HF05 and I am using the sample client that ships with TransactionMinder to post an XML doc with a WS-Security SAML Sender Vouches SOAP header but am getting back 'failed to gather credentials'. I see the following errors in the TransactionMinder log:

2005-09-27 16:21:45,775 [ERROR] handler.response.WSSecuritySAMLResponseHandler 83eea8c0-0654-4339a9d5-0c24-020d16dc - Could not do the initial retrieve of enterprise certificate
2005-09-27 16:21:45,775 [ERROR] handler.response.WSSecuritySAMLResponseHandler 83eea8c0-0654-4339a9d5-0c24-020d16dc - Unable to fetch enterprise certificate
2005-09-27 16:21:45,775 [WARN] handler.response.WSSecurityUsernameResponseHandler 83eea8c0-0654-4339a9d5-0c24-020d16dc - Found a token type that this handler will not generate

I initially post to a resource protected by the XML DCC auth scheme and have configured response attributes to generate the WS-Security SAML SV SOAP header, but when running a trace and looking at the txm log it does not look like that SOAP header is being generated. Further I see the following exception in the smps.log file on the policy server:

[1780/692][Tue Sep 27 2005 16:21:46][][ERROR] Can not load class:,
Cause: null,
Exception: null,
Error: java.lang.ClassNotFoundException:
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.netegrity.assertiongenerator.AssertionGeneratorCache.getObject(
at com.netegrity.assertiongenerator.AssertionGenerator.getAssertionHandler(
at com.netegrity.assertiongenerator.AssertionGenerator.invoke(
at com.netegrity.policyserver.smapi.ActiveExpressionContext.invoke(
[1780/692][Tue Sep 27 2005 16:21:46][][ERROR] Bad installation or configuration. Assertion Handler can't be initialized.

What is wrong?


When you upgraded, a new version of the JVMOptions.txt file was created and the old one backed up. This file is located on the policy server where the policy server is installed under the config directory. This new version of the file is missing the path to the tmsigservice.jar file in the classpath. A bug has been filed against this, but you can also fix this file yourself. Add the path to the tmsigservice.jar file to the -Djava.class.path parameter in the JVMOPtions.txt file. The tmsigservice.jar file is located in the siteminder\bin\jars directory below where the policy server is installed.


Component: TXMFNC